Skip to main content
WEBHOOK
ContentCreationChatHistoryEndpoint
{
  "messages": [
    {
      "id": "<string>",
      "sender": "USER",
      "date": "2023-04-25T10:00:00Z",
      "pictureUrls": [
        "<string>"
      ],
      "poke": true,
      "gifts": [
        {
          "name": "<string>",
          "tier": "LOW"
        }
      ],
      "text": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is an access key.

Example: Authorization: Bearer sk-proj-XXXXXXXXX

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.

Response

200 - application/json

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

messages
object[]
required