Skip to Content
MailroomMailroom home

List threads in an inbox

GET
/inboxes/{id}/threads

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
after?string

Cursor from the previous page.

label?string
status?string
q?string

Full-text search

Response Body

Threads

application/json
  1. response
data?array<>
after?string|null
Example Request
curl -X GET 'https://api.mailroom.gosuevals.com/v1/inboxes/string/threads'
Example Response200
{  "data": [    {      "id": "string",      "inbox_id": "string",      "subject": "string",      "participants": [        "string"      ],      "labels": [        "string"      ],      "status": "string",      "last_message_at": "2019-08-24T14:15:22Z",      "messages": [        {          "id": "string",          "thread_id": "string",          "direction": "inbound",          "from": "string",          "to": [            "string"          ],          "subject": "string",          "text": "string",          "html": "string",          "text_reply_only": "string",          "agent_verified": true,          "content_is_untrusted": true        }      ]    }  ],  "after": "string"}