Logo
Openapi.it Public API Documentation

{{baseUrl}}/pec

GET {{baseUrl}}/pec

This method shows you the list of certified e-mail boxes that belong to your account

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "id": "6040e4613a716838dc4eee0e", "casella_pec": "mypec@testcert.legalmail.it", "tipo_casella": "BRONZE", "stato": "revocata", "data_scadenza": "04/03/2022", "timestamp": { "registrazione": 1614865504, "ultima_modifica": 1614868403, "evasione": 1614868312, "scadenza": 1646391493, "revoca": 1614868400 }, "owner": "mail@domain.com" }, { "id": "6040c9df3a716838dc4eede4", "casella_pec": "yourpec@testcert.legalmail.it", "tipo_casella": "STANDARD", "stato": "evasa", "data_scadenza": "04/03/2022", "timestamp": { "registrazione": 1614858718, "ultima_modifica": 1614859181, "evasione": 1614859181, "scadenza": 1646391493 }, "owner": "mail@domain.com" } ], "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/pec' -H 'Accept: application/json'

ENDPOINTS