Replay

Replays an ended conversation by re-running its recorded audio through an agent. Requires API key or access token authentication. The conversation must have audio recordings available and an associated agent (or one specified in the request body).

Authentication

AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).

Path parameters

idstringRequired
The ID of the conversation to replay.

Request

This endpoint expects an object.
agentstringOptional
Name of the agent to replay the conversation with. Defaults to the agent originally associated with the conversation.

Response

Replay started
messagestring
Confirmation that the replay has started.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error