curl --request POST \
--url https://api.synctera.com/v1/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"enabled_events": [
"ADVERSE_ACTION.*"
],
"is_enabled": true,
"metadata": {},
"tenant": "abcdef_ghijkl",
"url": "<string>"
}'
{
"creation_time": "2023-11-07T05:31:56Z",
"description": "<string>",
"enabled_events": [
"ADVERSE_ACTION.*"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_enabled": true,
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_time": "2023-11-07T05:31:56Z",
"metadata": {},
"tenant": "abcdef_ghijkl",
"url": "<string>"
}
Create a webhook
curl --request POST \
--url https://api.synctera.com/v1/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"enabled_events": [
"ADVERSE_ACTION.*"
],
"is_enabled": true,
"metadata": {},
"tenant": "abcdef_ghijkl",
"url": "<string>"
}'
{
"creation_time": "2023-11-07T05:31:56Z",
"description": "<string>",
"enabled_events": [
"ADVERSE_ACTION.*"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_enabled": true,
"last_updated": "2023-11-07T05:31:56Z",
"last_updated_time": "2023-11-07T05:31:56Z",
"metadata": {},
"tenant": "abcdef_ghijkl",
"url": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Webhook to create
Webhook object
Created webhook
Webhook object
Was this page helpful?