Skip to main content
Use this endpoint to fetch the complete message history for a user session. Given a bot key and a user’s fbId, the API returns every turn of the conversation in chronological order — including both user messages and agent replies. This is useful for displaying conversation logs, auditing responses, or re-hydrating context in your application.

Request

POST https://app.botsify.com/api/v1/converse/get-conversation Authorization: Bearer token — include your token in the Authorization: Bearer <token> header.

Body Parameters

string
required
The unique key that identifies your bot. You can find this in your Botsify dashboard under bot settings.
string
required
The unique session identifier for the user whose conversation you want to retrieve. This is the same fbId used when sending messages via the Converse endpoint.

Example

Response

A successful request returns 200 OK with an array of conversation messages in chronological order.