PUT Video API

The Async Audio API allows you to append an additional audio to the previous conversation, append the transcription and get conversational insights for updated conversation.

It can be useful in any use case where you have access to multiple video files 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 video. 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.

info

If there are multiple requests are submitted for the same conversationId, all the requests will be processed synchronously in order to maintain the order of the requests for the conversation.

HTTP REQUEST#

PUT https://api.symbl.ai/v1/process/video/:conversationId

Example API call#

# MP4 File
curl --location --request PUT 'https://api.symbl.ai/v1/process/video/:conversationId?webhookUrl=<your_webhook_url>&entities= [{"customType": "Custom_Entity_Type", "text": "Custom Entity to be searched in transcript"}]' \
--header 'Content-Type: video/mp4' \
--header 'x-api-key: <generated_valid_token>' \
--data-binary '@/file/location/your_video.mp4'

Request Headers#

Header NameRequiredValue
x-api-keyYesyour_auth_token
Content-TypeYesDescribes the format and codec of the provided video data. Accepted value video/mp4

Path Params#

Parametervalue
conversationIdconversationId which is provided by the first request submitted using POST async video API

Query Params#

ParameterRequiredValue
nameNoYour meeting name. Default name set to conversationId.
webhookUrlNoWebhook url on which job updates to be sent. (This should be post API)
customVocabularyNoContains a list of words and phrases that provide hints to the speech recognition task.
detectPhrasesNoAccepted values are true & false. It shows Actionable Phrases in each sentence of conversation. These sentences can be found in the Conversation's Messages API.
entitiesNoInput custom entities which can be detected in your conversation using Entities' API. For example, check the sample code on right.
languageCodeNoWe 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 Payload#

FieldDescription
jobIdID to be used with Job API
statusCurrent status of the job. (Valid statuses - [ scheduled, in_progress, completed, failed ])

Response#

{
"conversationId": "5815170693595136",
"jobId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"
}

Response Object#

FieldDescription
conversationIdID to be used with Conversation API
jobIdID to be used with Job API