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:
1namestringOptionalExample:
Support401
Unauthorized
application/json
403
Forbidden
application/json
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?

