Skip to main content
Create webhook endpoint
curl --request POST \
  --url https://api.sandbox.thrivory.com/v1/webhooks/endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "description": "<string>"
}'
{
  "id": "<string>",
  "url": "<string>",
  "description": "<string>",
  "secret_last4": "<string>",
  "status": "active"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string

Provide a unique key per request to enable safe retries

Body

application/json
url
string<uri>
required
description
string

Response

Endpoint

id
string
required
url
string<uri>
required
status
enum<string>
required
Available options:
active,
disabled
description
string
secret_last4
string