{{baseUrl}}/inbox
GET {{baseUrl}}/inbox?q=<string>&page=<number>
Returns the content of your INBOX. Results can be paginated: each page contains up to 25 messages and have a unique ID that you can later use to get the single messsage or delete it.
Additionally, you can also query using the 'q' parameter. Please note that searching on a very populated mailbox can be slow.
Body
PARAM
Key | Datatype | Required | Description |
q
|
string | Search criteria | |
page
|
string | Current page |
HEADERS
Key | Datatype | Required | Description |
x-username
|
string | (Required) Username of Email to check | |
x-password
|
string | (Required) Password of Email to check | |
Accept
|
string |
RESPONSES
status OK
{
"data": [
{
"sender": "posta-certificata@pecmassiva.com",
"recipient": "dev-api@pecmassiva.com",
"date": "Wed, 26 Aug 2020 10:00:35 +0200",
"object": "ACCETTAZIONE: Invio di prova pec massiva 2020082610003492",
"id" Curl curl -X GET 'baseUrl/inbox?q=<string>&page=<number>?q=<string>&page=<number>' -H 'x-username: <string>' -H 'x-password: <string>' -H 'Accept: application/json' ENDPOINTS |