Skip to main content
GET
/
v1
/
inboxes
/
{id}
/
threads
List threads
curl --request GET \
  --url https://api.openmail.sh/v1/inboxes/{id}/threads \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "subject": "<string>",
      "lastMessageAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "messageCount": 123
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

limit
integer
default:50
Required range: x <= 100
offset
integer
default:0

Response

200 - application/json

List of threads

data
object[]
total
integer