POST
/
v1
/
webhooks
Create webhook
curl --request POST \
  --url https://api-staging.respondent.io/v1/webhooks \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-secret: <x-api-secret>' \
  --data '{
  "teamId": "<string>",
  "url": "<string>"
}'
{
  "id": "<string>",
  "url": "<string>",
  "privateKey": "<string>",
  "teamId": "<string>",
  "organizationId": "<string>"
}

Headers

x-api-key
string
required
x-api-secret
string
required

Body

application/json

Response

201 - application/json

The response is of type object.