userId to the user who made the change. Webhook delivery uses that user’s permissions.eventTypeIds is the list of booking pages the webhook is limited to. Use the uid of each event type returned by GET /v1/event_types. Only standard booking pages of your team are accepted.eventTypeIds is omitted, the current event types are kept.eventTypeIds is provided, it replaces the current list. An empty array clears the list, which is only allowed when the resulting scope is team.scope: "eventType" without eventTypeIds requires the endpoint to already have at least one linked event type. Links are kept when scope is switched to team without eventTypeIds, so switching back to eventType restores them. Sending an empty array clears them.eventTypeIds400 Bad Request with errorCode, errorMessage, and errors.eventTypeIds (an array with the same message). Nothing is changed when the request fails.errorCode | When |
|---|---|
event_type_required | The resulting scope is eventType but no event type would be linked: eventTypeIds is an empty array, or scope: "eventType" is sent without eventTypeIds while no event type is linked. |
event_type_scope_mismatch | The resulting scope is team but eventTypeIds is not empty. |
event_type_not_found | A value in eventTypeIds is not the uid of a standard booking page in your team (it does not exist, belongs to another team, or is not a standard booking page). The errorMessage lists the rejected uids. |
scope: "team", a list containing an unknown UID returns event_type_not_found. A non-empty list containing only valid UIDs returns event_type_scope_mismatch.400 and no errorCode. Requests that include neither scope nor eventTypeIds (for example, only description) are not affected by these checks.