1
Authentication
Create an account and access token
Create an account and access token
See details here
2
Calling the Endpoint to Create an Interaction
Endpoint:Headers:
- Authorization:
Bearer <access_token> - Tenant-Name:
<tenant-name> - Content-Type:
application/json
JavaScript
3
Server Response
Following successful request, the server will respond with the following information:
interactionId: a unique session identifier for audio, transcripts, facts, documentswebsocketUrl: a unique URL to stream audio/ data for the interaction
Store these values for subsequent requests.
4
Next Steps
- Save the
interactionIdfor future API calls associated with the interaction (uploading audio, retrieving transcripts, generating documents). - Use the
websocketUrl(appending&token=Bearer <access_token>) to open the real-time audio or data stream for that interaction. - Proceed with your workflow (e.g., upload recording, stream audio, generate transcript/document).