Skip to main content
POST
/
logs
/
call-logs
Save Call Log
curl --request POST \
  --url https://api.dev.opencorpus.ai/logs/call-logs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assistant_id": "<string>",
  "room_name": "<string>",
  "transcript": [
    {}
  ],
  "session_duration": 123,
  "participant_name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
assistant_id
string
required
room_name
string
required
transcript
Transcript · object[]
required
session_duration
integer
required
participant_name
string
required

Response

Successful Response