GET/v1/messaging-windowconversations:readThe API key needs the conversations:read permission. Without it the call is refused with 403 insufficient_scope. Sign in to try
Everyone you can DM now
Closing soonest first. closes_within_minutes keeps only those about to close.
Parameters
| channel | Query — whatsapp or instagram — both when left out |
| closes_within_minutes | Query — 1–1440: only windows closing within this many minutes |
| limit | Query — 1–100, default 25 |
| starting_after | Query — the next_cursor of the previous page |
Request
curl -X GET "https://api.iotabot.com/v1/messaging-window?channel=instagram&closes_within_minutes=180" \ -H "Authorization: Bearer $IOTABOT_API_KEY"
Response · 200
{
"data": {
"checked_at": "2026-10-02T09:00:58.000Z",
"items": [
{
"conversation_id": "6a4b9e21c3f1a2b3c4d5e6f8",
"channel": "instagram",
"thread": "dm",
"account_id": "6a4c02bb…",
"contact": {
"name": "priya.styles",
"phone": null,
"email": null,
"external_id": "17841400000000001"
},
"window_closes_at": "2026-10-02T14:05:00.000Z",
"seconds_left": 18342,
"last_customer_message_at": "2026-10-01T14:05:00.000Z",
"can_send": true,
"reason": null
}
],
"has_more": false,
"next_cursor": null
}
}Errors
invalid_channelinvalid_limitinvalid_cursor
