Skip to main content
POST
/
webhook
/
endpoints
/
{endpointId}
/
subscriptions
Create webhook subscriptions
curl --request POST \
  --url https://api.anchorage-staging.com/v2/webhook/endpoints/{endpointId}/subscriptions \
  --header 'Api-Access-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "eventTypeId": "<string>"
  }
]
'
{}

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Path Parameters

endpointId
string<uuid>
required

Unique identifier for the endpoint

Body

application/json
eventTypeId
string
required

Response

Successfully created webhook subscription

The response is of type CreateWebhookSubscriptionsResponse · object.