POST
/
mg-autotranscribe
/
v1
/
stop-streaming
curl --request POST \
  --url https://api.sandbox.asapp.com/mg-autotranscribe/v1/stop-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"
}'
{
  "autotranscribeResponse": {
    "customer": {
      "streamId": "5ce2b755-3f38-11ed-b755-7aed4b5c38d5",
      "status": {
        "code": 1000,
        "description": "OK"
      },
      "summary": {
        "totalAudioBytes": 1334720,
        "audioDurationMs": 83420,
        "streamingSeconds": 84,
        "transcripts": 2
      }
    },
    "agent": {
      "streamId": "5ce2b755-3f38-11ed-b755-7aed4b5c38d5",
      "status": {
        "code": 1000,
        "description": "OK"
      },
      "summary": {
        "totalAudioBytes": 1334720,
        "audioDurationMs": 83420,
        "streamingSeconds": 84,
        "transcripts": 2
      }
    }
  },
  "isOk": true,
  "errorMessage": "<string>"
}

Authorizations

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

Body

application/json
namespace
enum<string>

The media gateway platform or protocol you are using.

Available options:
siprec,
twilio,
amazonconnect,
genesysaudiohook
guid
string

The globally unique Id for the call, also sometimes called Unique Call Id (UCID). Must be in decimal form.

Response

200
application/json
Router processed the request, details are in the response body
autotranscribeResponse
object
isOk
boolean
errorMessage
string