Skip to main content
POST
/
v2
/
webhooks
Create Webhook
curl --request POST \
  --url https://api.voxo.co/v2/webhooks/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantId": 1,
  "type": "SALESFORCECRM",
  "url": "<string>"
}
'
{
  "id": 123,
  "tenantId": 123,
  "type": "<string>",
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
tenantId
number
required

Tenant ID

Required range: x > 0
type
required

Webhook event type

Available options:
SALESFORCECRM
url
string
required

Webhook callback URL

Minimum string length: 3

Response

Created webhook

id
number
required

Webhook ID

tenantId
number
required

Tenant ID

type
string
required

Webhook event type

url
string
required

Callback URL