Webhooks are custom HTTP callbacks that you can define to get notified when your transcripts are ready
set_webhook()
on the transcription config. The URL must be accessible from AssemblyAI’s servers.
Use submit()
instead of transcribe()
to create a transcription without waiting for it to complete.
POST
HTTP request to the URL that you specified.
Key | Type | Description |
---|---|---|
transcript_id | string | The ID of the transcript. |
status | string | The status of the transcript. Either completed or error . |
set_webhook()
.
submit()
returns an object with the ID of the transcription. If the webhook delivery fails, you can use this ID to retrieve the transcript later.