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

Create a folder

Create a new inbound folder.

post
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Body
namestring · max: 100RequiredExample: Support
Responses
201

Folder created

application/json
idintegerOptionalExample: 1
namestringOptionalExample: Support
post/api/inbound/folders
curl -X POST https://mailtrap.io/api/inbound/folders \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "name": "Support" }'
{
  "id": 1,
  "name": "Support"
}

Last updated

Was this helpful?