POST Video API
The Async Video API allows you to process a video file.
It can be useful in any use case where you have access to the video file of any type of conversation, and you want to extract the insightful items supported by the Conversation API.
info
This API supports only mp4 file formats. If you have any other type of file, you need to first convert the file to the supported format in order to use the API.
#
HTTP REQUESTPOST https://api.symbl.ai/v1/process/video
#
Example API call- cURL
- Javascript
#
Request HeadersHeader Name | Required | Value |
---|---|---|
x-api-key | Yes | your_auth_token |
Content-Type | Yes | Describes the format and codec of the provided video. Accepted value video/mp4 |
#
Query ParamsParameter | Required | Value |
---|---|---|
name | No | Your meeting name. Default name set to conversationId . |
webhookUrl | No | Webhook url on which job updates to be sent. (This should be post API) |
customVocabulary | No | Contains a list of words and phrases that provide hints to the speech recognition task. |
detectPhrases | No | Accepted values are true & false . It shows Actionable Phrases in each sentence of conversation. These sentences can be found in the Conversation's Messages API. |
entities | No | Input custom entities which can be detected in your conversation using Entities' API. For example, check the sample code on right. |
languageCode | No | We accept different languages. Please check language Code as per your requirement. |
webhookUrl
will be used to send the status of job created for uploaded video. Every time the status of the job changes it will be notified on the WebhookUrl
#
Webhook PayloadField | Description |
---|---|
jobId | ID to be used with Job API. |
status | Current status of the job. (Valid statuses - [ scheduled , in_progress , completed , failed ]) |
#
Response#
Response ObjectField | Description |
---|---|
conversationId | ID to be used with Conversation API |
jobId | ID to be used with Job API |
#
Response on reaching limitField | Description |
---|---|
Payload | { "message" : "Too Many Requests" } |
Header | { "statusCode" : 429 } |