Gateway

Create a webhook endpoint

Creates an HTTPS webhook endpoint and returns its signing secret once.

post/webhook-endpoints

Request

  • Base URL: https://api.phaseo.app/v1
  • URL: https://api.phaseo.app/v1/webhook-endpoints
  • Auth: HTTP bearer

Request body

namestring
urlstring uri required
eventsWebhookEndpointEvent[]

Response

Webhook endpoint created

idstring required
workspaceIdstring required
namestring required
urlstring required
status'active' | 'disabled' | 'deleted' required
eventsstring[] required
hasSecretboolean required
createdBystring nullable
createdAtstring date-time nullable
updatedAtstring date-time nullable
deletedAtstring date-time nullable
signing_secretstring required

Returned only on creation or rotation.

Changes

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