All requests are authenticated using DIGEST authentication and SSL protected.
...
API
Base URL: https://{host name}:8085/mailbox/{user id
}
URL | METHOD | Description | ||
---|---|---|---|---|
/mwi | PUT w/no body | Updates the MWI for this mailbox (i.e. tells the status server | ||
| GET | Returns the MWI status for this mailbox in RFC-3842 format. | ||
/messages | GET | returns all messages in mailbox | ||
/message/{messageid} | GET | where {messageid} is the unique message ID for the message, an 8 digit number. | ||
/heard | PUT (no body) | Marks the message heard (and updates MWI | ||
| GET | returns message heard status. The body returned is the XML fragment: <heard>true|false</heard> | ||
| DELETE | DELETE Marks the message unheard (and updates MWI) | ||
/delete | PUT (no body) | Moves the message to Trash folder | ||
/preferences/activegreeting | PUT with body
where {value} is one of : | sets the active greeting | ||
| GET | returns the active greeting (returns above fragment) | ||
| DELETE | sets the active greeting to |
...
Examples
Code Block | ||
---|---|---|
| ||
$curl --digest -k --request GET https://200:123@localhost:8085/mailbox/200/mwi Messages-Waiting: no Voice-Message: 0/3 (0/0) |
...