Skip to content

Returns mails from a mailbox.​

GET
/api/mailboxes/{mailboxId}/folders/{folderId}/mails

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

mailboxId*
Type
integer
Required
Minimum
1
folderId*
Type
integer
Required
Minimum
1

Query Parameters

limit
Type
[ "integer", "null" ]
offset
Type
[ "integer", "null" ]

Responses​

Success

application/json
JSON
[
  
{
  
  
"id": -1,
  
  
"mailboxId": -1,
  
  
"mailboxFolder": -1,
  
  
"from": {
  
  
  
"mailbox": "string",
  
  
  
"hostname": null,
  
  
  
"name": null,
  
  
  
"address": "string"
  
  
},
  
  
"time": "string",
  
  
"subject": "",
  
  
"body": "string",
  
  
"bodyHtml": "string",
  
  
"isRead": false,
  
  
"isAnswered": false
  
}
]

Playground​

Authorization
Variables
Key
Value

Samples​