Get the next conversation message ID
GET/api/conversation/messages
Owner-only initialization for a conversation message counter. Widget conversations are excluded. This operation makes no model call and requires no credit balance. Returns one greater than the highest saved numeric message ID, or 1 for an empty conversation. This does not reserve an ID. Coordinate writers; conflicting writes return 409 without replacing dialogue.
Request
Responses
- 200
- 400
- 401
- 403
- 409
- 429
- 500
Default Response
Invalid conversation ID.
Not authenticated or invalid API key.
Access denied or required terms of service have not been accepted.
Conversation message ID limit reached.
Too many requests.
Failed to read message counter.