Create Segments
curl --request POST \
  --url http://{api_endpoint}/api/v1/v1/customercare/segments/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "segments": [
    {
      "conversation_id": "<string>",
      "recorded_at": "2023-11-07T05:31:56Z",
      "period": "<string>",
      "source": "<string>",
      "segment_type": "start",
      "seq": 123,
      "text": "<string>",
      "confidence": 123,
      "language": "<string>",
      "tags": [
        "<string>"
      ]
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
segments
CreateTranscriptSegment · object[]
required

Response

Successful Response

The response is of type any.