Creates a new webhook that listens for specified events in a workspace.
Body
application/json · object
eventWebhookEventrequiredEvents you want to subscribe to.
To subscribe to multiple events, create multiple webhooks with the same url and different event types.
One of
"TRANSCRIPT_CREATED""TRANSLATION_CREATED""INSIGHT_CREATED"urlstringrequiredURL where you will be notifed when the event occurs
workspaceIdstringrequiredID of the workspace on which you get notified about the events
Responses
200New webhook objectapplication/json · Webhook
eventWebhookEventrequiredOne of
"TRANSCRIPT_CREATED""TRANSLATION_CREATED""INSIGHT_CREATED"workspaceIdstringrequiredWorkspace the webhook is linked to. Only triggers for contents of this workspace.
createdByIdstringrequiredID of the user that created this webhook
urlstringrequiredWebhook url
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available

