API reference
Mailbox (Mail tools)
Tools a mailbox owner uses from the webmail: password, filters, autoresponder, client settings.
Sign out of the mail tools
POST/api/v1/mailbox/auth/logout
Responses
- 204 Done, no content
- 403 Forbidden: csrf
Mail tools session
GET/api/v1/mailbox/auth/session
Responses
- 200 OK
Body
Field Type authenticatedboolean csrf_tokenstring expires_atinteger mailboxobject Field Type addressstring domainstring idstring is_systemboolean read_onlyboolean
Redeem a mail tools sign-in link
GET/api/v1/mailbox/auth/sso
Parameters
| Name | In |
|---|---|
page | query |
token | query |
Responses
- 302 Redirect
- 500 Internal Server Error: internal
Get your autoresponder
GET/api/v1/mailbox/autoresponders
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Create your autoresponder
POST/api/v1/mailbox/autoresponders
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Delete your autoresponder
DELETE/api/v1/mailbox/autoresponders/{aid}
Parameters
| Name | In |
|---|---|
aid | path |
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Update your autoresponder
PUT/api/v1/mailbox/autoresponders/{aid}
Parameters
| Name | In |
|---|---|
aid | path |
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Your mail client settings
GET/api/v1/mailbox/client-settings
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
List your email filters
GET/api/v1/mailbox/filters
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Create an email filter
POST/api/v1/mailbox/filters
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Reorder your email filters
PUT/api/v1/mailbox/filters-order
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Delete an email filter
DELETE/api/v1/mailbox/filters/{fid}
Parameters
| Name | In |
|---|---|
fid | path |
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Update an email filter
PUT/api/v1/mailbox/filters/{fid}
Parameters
| Name | In |
|---|---|
fid | path |
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
Change your mailbox password
PUT/api/v1/mailbox/password
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)