POST
/
webhooks
curl --request POST \
  --url https://base_url/api/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "api_version": "<string>",
  "name": "<string>",
  "topics": [
    "REGISTRATIONS.EXISTING.VALIDATION_FAILED"
  ],
  "url": "<string>",
  "key": "<string>",
  "status": "ENABLED"
}'
{
  "data": {
    "id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
    "api_version": "v1.0",
    "name": "handle_existing_registrations_validation_failure",
    "topics": [
      "REGISTRATIONS.EXISTING.VALIDATION_FAILED"
    ],
    "url": "https://bruno-simon.com/",
    "key": "couabowugowubfvow2efgofqpifhdiubvafobafou2ee",
    "status": "ENABLED",
    "created_at": 1727284490
  },
  "message": "Successfully registered webhook."
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Sales tax registration response

The response is of type object.