Webhooks

Create a webhook subscription

Requires webhooks:write.

post/webhooks

Request

  • Base URL
    https://platform-api.visitoai.com/m2m/v1
  • Auth
    HTTP bearer

Request body

urlstring uri required
eventsstring[] required
includeCommerceboolean

Explicit opt-in for Commerce-backed ticket events. Delivery rechecks scope, enrollment and current Stripe mode.

Example request

{
  "url": "https://integrations.example.com/visito/webhooks",
  "events": [
    "message.created",
    "message.delivery.updated"
  ]
}

Response

Success

secretstring

Returned once. Store securely.

Changes

No recorded changes to this operation across all 1 revision of this API.