For the complete documentation index, see llms.txt. This page is also available as Markdown.

List folders

Returns all inbound folders in the account.

get
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Responses
200

List of folders

application/json
idintegerOptionalExample: 1
namestringOptionalExample: Support
get/api/inbound/folders
curl -X GET https://mailtrap.io/api/inbound/folders \
  -H 'Authorization: Bearer YOUR_API_KEY'
[
  {
    "id": 1,
    "name": "Support"
  },
  {
    "id": 2,
    "name": "Sales"
  }
]

Last updated

Was this helpful?