POST
/
mg-autotranscribe
/
v1
/
start-streaming
curl --request POST \
  --url https://api.sandbox.asapp.com/mg-autotranscribe/v1/start-streaming \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "namespace": "siprec",
  "guid": "0867617078-0032318833-2221801472-0002236962",
  "customerId": "customerId",
  "agentId": "agentId",
  "autotranscribeParams": {
    "language": "en-US"
  },
  "siprecParams": {
    "mediaLineOrder": "CUSTOMER_FIRST"
  }
}'
{
  "isOk": true,
  "autotranscribeResponse": {
    "customer": {
      "streamId": "5ce2b755-3f38-11ed-b755-7aed4b5c38d5",
      "status": {
        "code": 1000,
        "description": "OK"
      }
    },
    "agent": {
      "streamId": "cf31116-3f38-11ed-9116-7a0a36c763f1",
      "status": {
        "code": 1000,
        "description": "OK"
      }
    }
  }
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

Response

200
application/json

Router processed the request, details are in the response body

The response is of type object.