Find conversations awaiting a reply
Find permitted one-to-one conversations whose latest visible message in a bounded window is inbound.
- Key permissions
- Read chats and messages
- Authentication
Authorization: Bearer $WHATSYNC_API_KEY
How keys work
How it works
The window defaults to the last 30 days and is limited to 90 days.
This is a signal, not a read-receipt or task assignment.
Body parameters
afterstring · date-timeoptionalWindow start, an ISO timestamp; defaults to 30 days ago
beforestring · date-timeoptionalWindow end, an ISO timestamp; must be later than after and at most 90 days after it
limitintegeroptionalMaximum results per page. See the schema for bounds and defaults.
Response
HTTP 200 returns this tool's JSON directly, without an MCP content wrapper. Optional provider fields may be absent or null; check pagination and coverage before treating a page as complete.
Every response includes X-Request-Id. Errors use the shared error format and retry rules.
Schemas
Input JSON Schema
Input JSON Schema
{
"type": "object",
"properties": {
"after": {
"type": "string",
"format": "date-time",
"description": "Window start, an ISO timestamp; defaults to 30 days ago"
},
"before": {
"type": "string",
"format": "date-time",
"description": "Window end, an ISO timestamp; must be later than after and at most 90 days after it"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Response JSON Schema
Response JSON Schema
{
"type": "object",
"properties": {
"conversations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"conversation_id": {
"type": [
"string",
"null"
]
},
"contact_name": {
"type": [
"string",
"null"
]
},
"phone_number": {
"type": [
"string",
"null"
]
},
"last_inbound_text": {
"type": [
"string",
"null"
]
},
"last_message_at": {
"type": [
"string",
"null"
]
}
},
"required": [],
"additionalProperties": true
}
},
"listed_after": {
"type": "string"
},
"listed_before": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
}