Logo
Openapi.it Public API Documentation

Pec (Posta Elettronica Certificata)

Number of APIs: 19


Web service that allows you to activate a certified e-mail.

Contact Support: Name: Support


1. {{baseUrl}}/domini_pec/:dominio

GET {{baseUrl}}/domini_pec/:dominio

This method allows you to check if a domain is eligible for sending or receiving a pec



2. {{baseUrl}}/verifica_pec/:pec

GET {{baseUrl}}/verifica_pec/:pec

This method shows you the availability of a certified e-mail box



3. pec-{id} - {{baseUrl}}/pec/:id

GET {{baseUrl}}/pec/:id

This method shows you the specific certified e-mail address related to the id



4. pec-{id} - {{baseUrl}}/pec/:id

DELETE {{baseUrl}}/pec/:id

This method allows you to revoke the specific certified e-mail address related to the id



5. pec-{id} - {{baseUrl}}/pec/:id/attivazione

PATCH {{baseUrl}}/pec/:id/attivazione

This method allows you, once you have registered your certified electronic mailbox, to activate it by uploading the necessary documentation. The required documentation includes your valid identity document and the completed and signed activation form that you can download using the method GET/pec/{id}/moduloattivazione. For the boxes of type DOMICILIODIGITALE and PECMASSIVA it is necessary to create a single document comprising the signed activation form and the identity document. If you have uploaded the incorrect documents the request will assume the status of 'documentierrati' which will allow you to use the activation endpoint again to upload them correctly.



6. pec-{id} - {{baseUrl}}/pec/:id/modifica

PATCH {{baseUrl}}/pec/:id/modifica

This method allows you to change the space of a certified e-mail. You can change the disk space('spaziodisco'), the security archive space('spaziostorico') and the standard storage space('spazio_conservazione'). Only a space upgrade is allowed. Action not allowed for these two types of boxes: DOMICILIODIGITALE, PECMASSIVA.



7. pec-{id} - {{baseUrl}}/pec/:id/conservazione

PATCH {{baseUrl}}/pec/:id/conservazione

This method allows you to activate the standard storage service in your certified e-mail. Action not allowed for these two types of boxes: DOMICILIODIGITALE, PECMASSIVA.



8. pec-{id} - {{baseUrl}}/pec/:id/trasformazione

PATCH {{baseUrl}}/pec/:id/trasformazione

This method allows you to change the type of certified email. Only upgrades are allowed, for example from a STANDARD you can switch to a SILVER or GOLD one. Action not allowed for these two types of boxes: DOMICILIODIGITALE, PECMASSIVA.



9. pec-{id} - {{baseUrl}}/pec/:id/rinnovo

GET {{baseUrl}}/pec/:id/rinnovo?anni=<integer>

This method allows you to renew for one year or re-activate the certified e-mail identified by the id



10. pec-{id} - {{baseUrl}}/pec/:id/multiutenza

POST {{baseUrl}}/pec/:id/multiutenza

This method allows you to add a user who can use a pec box. It can only be activated on STANDARD, BRONZE, SILVER and GOLD mailboxes.



11. pec-{id} - {{baseUrl}}/pec/:id/modulo_attivazione

GET {{baseUrl}}/pec/:id/modulo_attivazione

This method allows you to directly download the activation form of a certified e-mail. Once compiled and signed it will be passed in the form of a base 64 encoded string using the PATCH/pec/{id}/attivazione method together with an identity document.



12. pec-{id} - {{baseUrl}}/pec/:id/modulo_conservazione

GET {{baseUrl}}/pec/:id/modulo_conservazione

This method allows you to directly download the storage activation form for a certified e-mail. once compiled and signed it will be passed in the form of a base 64 encoded string using the PATCH/pec/{id}/conservazione method together with an identity document.



13. pec - {{baseUrl}}/pec

GET {{baseUrl}}/pec

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



14. pec - {{baseUrl}}/pec

POST {{baseUrl}}/pec

This method allows you to register a new certified mailbox.

If you do not have your own certified domain, the mailbox must necessarily consist of:

In Sandbox must be: 'boxname'@testcert.legalmail.it (Es. provapec@testcert.legalmail.it) or 'boxname'@test.domiciliodigitale.com (Es. provapec@test.domiciliodigitale.com).



15. comunica pec-{id} - {{baseUrl}}/comunica_pec/:id

GET {{baseUrl}}/comunica_pec/:id

This method returns you the specific request marked with the id



16. comunica pec-{id} - {{baseUrl}}/comunica_pec/:id

PATCH {{baseUrl}}/comunica_pec/:id

This method allows you to complete the request for communication of your pec to the business register by uploading the necessary documentation. The required documentation includes the completed and digitally signed in p7m format form that you can download using the method GET/comunicapec/{id}/procuraregistro_imprese.



17. comunica pec-{id} - {{baseUrl}}/comunica_pec/:id/procura_registro_imprese

GET {{baseUrl}}/comunica_pec/:id/procura_registro_imprese

This method allows you to download the pec communication form to the business register. Once digitally signed in p7m format it will be passed in the form of a base 64 encoded string using the PATCH/comunica_pec/{id} method.



18. comunica pec - {{baseUrl}}/comunica_pec

GET {{baseUrl}}/comunica_pec

This method shows you all the certified e-mail communications to the business register started



19. comunica pec - {{baseUrl}}/comunica_pec

POST {{baseUrl}}/comunica_pec

This method allows you to communicate a certified e-mail to the business register



ENDPOINTS