List Inbox conversations
postkey_list_conversationsPostkey: Lists the profile's Instagram DM conversations, newest first, one page at a time: id, who it is with (untrusted), the last message and who wrote it, unread, state (open or closed) and who it is assigned to. Open conversations only unless state says otherwise. Use it to find a conversation_id; read the messages with postkey_get_conversation before replying, and find a person by name or handle with postkey_search_contacts. Pass next_cursor as cursor for the next page (null: the last page). On a profile with a team, team lists the member ids for postkey_assign_conversation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "postkey_list_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, 1 to 50. Default 20. | |
| state | No | "open" (default), "closed" or "all". | |
| cursor | No | The next_cursor of the previous answer, as it was. Leave out for the first page. | |
| unread_only | No | true: only conversations with unread messages, within state. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| note | No | Present when no DM account is connected or only the newest are listed. | |
| team | No | On a profile with a team: members with an Inbox seat (member_id, name). | |
| total | No | Conversations matching the filter. | |
| unread | No | Unread conversations in the Inbox. | |
| next_cursor | No | Pass as cursor for the next page; null on the last page. | |
| conversations | No | Newest first: id, contact_id, with, handle, last_message, last_from, last_at, unread, state, assigned_to, labels. | |
| untrusted_note | No | Present when outside text is wrapped as { untrusted: true, text }. |