Logo
Openapi.it Public API Documentation

{{baseUrl}}/send/:code

GET {{baseUrl}}/send/:code

Returns the status of the receipt and delivery verification emails relating to the sending with the code returned at the time of sending the PEC

 

Body PARAM

Key Datatype Required Description 



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", "data": "Wed, 26 Aug 2020 10:00:35 +0200", "object": "ACCETTAZIONE: Invio di prova pec massiva 2020082610003492", "message": "" }, { "sender": "\"Per conto di: dev-api@pecmassiva.com\" ", "recipient": "\"dev-api@pecmassiva.com\" ", "data": "Wed, 26 Aug 2020 10:00:35 +0200", "object": "POSTA CERTIFICATA: Invio di prova pec massiva 2020082610003492", "message": "Salve, questa email � una prova di invio, che prevede un corpo in html" }, { "sender": "posta-certificata@pecmassiva.com", "recipient": "dev-api@pecmassiva.com", "data": "Wed, 26 Aug 2020 10:00:36 +0200", "object": "CONSEGNA: Invio di prova pec massiva 2020082610003492", "message": "Salve, questa email � una prova di invio, che prevede un corpo in html" } ], "success": true, "message": "" }


Curl
curl -X GET 'baseUrl/send/:code' -H 'x-username: <string>' -H 'x-password: <string>' -H 'Accept: application/json'

ENDPOINTS