Save a preview call log
POST
/call_logs_platformSave the log a browser preview call leaves when it ends — never a phone call's log; those are Conversation Logs.
Auth
Authentication required.
Parameters
No parameters.
Request body
| Required | Content-Type | Shape |
|---|---|---|
| Yes | application/json | SaveCallLogRequest |
| Name | Type | Required | Description |
|---|---|---|---|
| bot_name | string | Yes | — |
| agent_id | string | Yes | — |
| display_name | string | Yes | — |
| conversation_id | string | Yes | — |
| ws_session_id | string | Yes | — |
| started_at | string | Yes | — |
| ended_at | string | Yes | — |
| messages | string | Yes | — |
Responses
| Status | Description | Content-Type | Shape |
|---|---|---|---|
| 200 | Successful Response | application/json | unknown |
| 422 | Validation Error | application/json | HTTPValidationError |