Webhooks

Create a webhook endpoint

Creates a new webhook endpoint owned by the authenticated API key's user. Events are routed to the user context that emits them; playlist.video_added is delivered to the user who adds the video, who may be a playlist editor rather than its owner. Returns the endpoint ID and signing secret.

post/v1/webhooks/endpoints

Request body

filterTypesstring[] required

Event types to subscribe to (e.g., video.created, export.ready)

urlstring uri required

The URL where webhook events will be sent

Example request

{
  "filterTypes": [
    "video.created",
    "export.ready"
  ],
  "url": "https://example.com/webhooks/tella"
}

Response

Endpoint created successfully

idstring required

Unique identifier for the webhook endpoint

secretstring required

Signing secret for verifying webhook payloads (shown only once)

Example response

{
  "id": "ep_abc123def456",
  "secret": "whsec_xyz789..."
}

Changes

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