Setting up Webhooks
Overview
Caption.Ed allows you to subscribe to webhook events that notify your application in real-time when an event occurs. Webhooks are offered for all events that can occur as an act of another user (for data which you have access to) or when you call an API service that performs a background operation such as transcribing a media object.
Events
The following events can be subscribed to:
Event Name
Description
Resources Included
transcription.transcribed
A transcription has been sucessfully transcribed.
Transcription
transcription.created
A transcription object has been created
Transcription
Subscribing to events
To subscribe to webhooks you can use the Developers dashboard to register a new Webhook Endpoint or use the API to create a Webhook Endpoint.
Here is an example of subscribing to a couple of events using the API:
For more details and examples you can visit the API reference:
Receiving events
All events are sent you you in real-time to your provided callback URI as POST
requests. Here is an example event based on the transcription.transcribed
event:
Important
Your server should respond to webhook events with a 2xx
status code.
If we receive a status code that is not successful then we'll re-attempt delivery of the webhook event up to 5 times.
Last updated
Was this helpful?