Transcript LOL API
POST
/webhooks

Register webhook

Creates a new webhook that listens for specified events in a workspace.

/webhooks

The Authorization access token

Authorization

x-api-key<token>

In: header

Request Body

application/jsonOptional

Webhook options

event
Required
WebhookEvent

Events you want to subscribe to.

To subscribe to multiple events, create multiple webhooks with the same url and different event types.

Value in: "TRANSCRIPT_CREATED" | "TRANSLATION_CREATED" | "INSIGHT_CREATED"

url
Required
string

URL where you will be notifed when the event occurs

workspaceId
Required
string

ID of the workspace on which you get notified about the events

curl -X POST "https://transcript.lol/api/v1/webhooks" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "event": "TRANSCRIPT_CREATED",
    "url": "string",
    "workspaceId": "string"
  }'

New webhook object

{
  "event": "TRANSCRIPT_CREATED",
  "workspaceId": "string",
  "createdById": "string",
  "url": "string"
}