π¬Get Messages
Endpoint
POST https://app.wonderchat.io/api/v1/messagesRequest Parameters
Parameter
Type
Required
Description
Example Request
curl --location --request POST 'https://app.wonderchat.io/api/v1/messages' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "YOUR_API_KEY",
"chatlogId": "YOUR_CHATLOG_ID"
}'Response Format
{
"messages": [
{
"content": "Hello, how can I help you?",
"type": "bot",
"createdAt": "2023-12-01T06:34:38.903Z"
},
{
"content": "I have a question about your product.",
"type": "user",
"createdAt": "2023-12-01T06:35:10.123Z"
},
{
"content": "I'd be happy to help you with product information. What specifically would you like to know?",
"type": "bot",
"createdAt": "2023-12-01T06:35:15.456Z"
}
]
}Response Fields
Field
Type
Description
Message Types
Type
Description
Use Cases
Last updated
Was this helpful?