Create a signed Schedule webhook subscription

Workspace is derived from the API key. schedule:booking_read is required for subscription and delivery reads; schedule:booking_write is required for mutations because a subscription forwards booking activity. Destinations require an operator-approved exact-host allowlist. No attendee answers or management capabilities are included in delivered payloads.

POST
/schedule/webhooks

Workspace is derived from the API key. schedule:booking_read is required for subscription and delivery reads; schedule:booking_write is required for mutations because a subscription forwards booking activity. Destinations require an operator-approved exact-host allowlist. No attendee answers or management capabilities are included in delivered payloads.

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Request Body

application/json
  1. body
eventTypes*array<>
Items1 <= items <= 3
url*string

Operator-approved exact-host public HTTPS URL, with no query or fragment.

Formaturi

Response Body

Successful operation

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/schedule/webhooks' \
  -H 'Content-Type: application/json' \
  -d '{
  "eventTypes": [
    "schedule.booking.created"
  ],
  "url": "http://example.com"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "signingSecret": "string",
    "subscription": {
      "createdAt": "2019-08-24T14:15:22Z",
      "eventTypes": [
        "schedule.booking.created"
      ],
      "id": "string",
      "status": "active",
      "updatedAt": "2019-08-24T14:15:22Z",
      "url": "http://example.com"
    }
  }
}