WEBHOOK
ContentCreationChatHistoryEndpoint
{
  "messages": [
    {
      "id": "<string>",
      "sender": "USER",
      "date": "2023-04-25T10:00:00Z",
      "type": "TEXT",
      "text": "<string>"
    }
  ]
}

Query Parameters

userProfileId
string
required

Your user profile id. The user profile interacting with the Persona profile.

personaProfileId
string
required

Your persona profile id. The profile for which the platform will generate responses.

lastMessageDate
string

Our platform forwards the date of the last stored message. You can use this to optimize queries when retrieving chat history. If there are no messages in the history, this parameter will be empty by default.

Example:

"2025-01-01T00:00:00Z"

Response

200 - application/json

Chat history data fetched successfully. Your endpoint will respond with the appropriate JSON data.

The response is of type object.