Messages
Ingest API messages
Ingests an array of API messages for a project. Messages are validated and stored for later analysis.
Scope: messages:write
post/messages/{projectId}
Path parameters
projectIdstring required
Unique identifier of the project.
Example:cmk4s
Request body
Example request
[
{
"threadId": "9831d5c5-f6e2-48fe-bb48-095dd1fb536e",
"type": "text/plain",
"direction": "SENT",
"content": "My name is John Doe. How can I assist you?",
"agentId": "support@waizer.ai",
"timestamp": "2025-09-10T10:39:44.000Z",
"metadata": {
"error": "Failed to deliver message due to network error.",
"humanAssigneeId": "john.doe@waizer.ai"
}
}
]Response
Messages ingested successfully
Example response
{
"message": "Messages ingested successfully",
"count": 42
}