POST
/
webhooks
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Webhook to create

Webhook object

Response

201
application/json

Created webhook

Webhook object