€15.70 + VAT
Automate the PEC (Certified Email) communication to the Chamber of Commerce for new registrations, updates, or for the company’s administrator — all directly via API.
The PEC API allows you to verify, activate, manage, communicate, and renew all Legalmail PEC accounts and the Digital Domicile mailbox. Through this API, you can also activate the Postamassiva PEC mailbox, designed for mass sending of certified emails. The PEC API can be used to activate PEC accounts for your company and employees or to resell to third parties.
PEC Communication to the Chamber of Commerce is Openapi's exclusive service that automates the process of communicating the Certified Email (PEC) address to the Chamber of Commerce. This is essential for new company registrations, corporate changes, and communications regarding directors—all done via API and in just a few seconds.
The supported communication types are:
The service supports any type of PEC mailbox, even those not activated through Openapi, ensuring maximum flexibility.
To proceed with the PEC communication, the following API requests must be made.
The first useful endpoint for PEC communication is
POST /comunica_pec. This endpoint initializes the request.
POST /comunica_pec/
This is an example request to communicate the PEC address [email protected]
https://pec.openapi.it/comunica_pec
The following values must be included in the request body:
This is an example Payload:
{
"casella_pec": "[email protected]",
"cf": "RSSXXXXXXXX56E",
"nome": "mario",
"cognome": "rossi",
"qualifica": "AMMINISTRATORE",
"email": "[email protected]",
"cellulare": "roma",
"ragione_sociale": "roma",
"cf_piva": "12345678910",
"comune": "roma",
"pec_amministratore": true,
"provincia": "rm",
}
In this case, the request concerns the Communication of a Digital Domicile PEC address, and the field "pec_amministratore" has been set to true to indicate that it refers to the Administrator’s PEC communication and not to the company's PEC registration or update. At this stage, you can also set a callback to be notified when the request status changes (e.g., completed).
POST /comunica_pec
The response will contain a series of details, especially the activation status and ID. The ID is essential to check the status and completion of the request.
{
"casella_pec": "[email protected]",
"cf": "RSSXXXXXXXX56E",
"nome": "mario",
"cognome": "rossi",
"qualifica": "AMMINISTRATORE",
"email": "[email protected]",
"cellulare": "roma",
"ragione_sociale": "roma",
"cf_piva": "12345678910",
"comune": "roma",
"provincia": "rm",
"callbak": "false",
"stato": "codice_in_richiesta",
"codice_registro_imprese": "openapi",
"documenti_registro_imprese": [],
"owner": "[email protected]",
"timestamp": "1621955739",
"id": "60ad149c3a7168084f1d2b68",
}
The available request statuses are: codice_in_richiesta, in_attesa_di_documenti, documenti_caricati, comunicazione_evasa.
GET/comunica_pec/{id}/procura_registro_imprese
The response will be a PDF file.
After initializing the request, you will need to download the delegation form for the communication via the endpoint /comunica_pec/{id}/procura_registro_imprese. The response will be a PDF file.
PATCH/comunica_pec/{id}
To complete the activation, you must send the correctly filled out and digitally signed (in .p7m format) delegation form along with the applicant's identity document via the endpoint PATCH /comunica_pec/{id}. The ID is the one obtained in the previous response.
https://pec.openapi.it/comunica_pec/60ad149c3a7168084f1d2b68
The payload must include the p7m file encoded in base64
The response will be as follows:
{
"casella_pec": "[email protected]",
"cf": "RSSXXXXXXXX56E",
"nome": "mario",
"cognome": "rossi",
"qualifica": "ADMINISTRATOR",
"email": "[email protected]",
"cellulare": "roma",
"ragione_sociale": "roma",
"cf_piva": "12345678910",
"comune": "roma",
"provincia": "rm",
"callbak": "false",
"stato": "documents_uploaded",
"codice_registro_imprese": "openapi",
"documenti_registro_imprese": [
"60dc8da86c8b04624536bbb2_0_registro_imprese.p7m",
],
"owner": "[email protected]",
"timestamp": "1621955739",
"id": "60ad149c3a7168084f1d2b68",
}
You can check the status of the PEC Communication at any time using the endpoint GET /comunica_pec/{id} .
GET /comunica_pec/{id}
The call to check the status of the previous PEC, activated with id 60ad149c3a7168084f1d2b68, will be:
GET https://pec.openapi.it/comunica_pec/6040e4613a716838dc4eee0e
GET /comunica_pec/{id}
This is an example of the response:
{
"casella_pec": "[email protected]",
"cf": "RSSXXXXXXXX56E",
"nome": "mario",
"cognome": "rossi",
"qualifica": "ADMINISTRATOR",
"email": "[email protected]",
"cellulare": "roma",
"ragione_sociale": "roma",
"cf_piva": "12345678910",
"comune": "roma",
"provincia": "rm",
"callbak": "false",
"stato": "documents_uploaded",
"codice_registro_imprese": "openapi",
"documenti_registro_imprese": [
"60dc8da86c8b04624536bbb2_0_registro_imprese.p7m",
],
"owner": "[email protected]",
"timestamp": "1621955739",
"id": "60ad149c3a7168084f1d2b68",
}
The PEC API is used by software houses, banks and financial institutions, accounting portals, public administrations and large enterprises. It allows customers to activate any type of PEC mailbox, enabling secure and certified communication management, while automating communication processes with the Business Register.
Do you need help?
Haven't found the answer you're looking for?
Fill in all the details, we will get back to you as soon as possible!
This service allows businesses and administrators to comply with legal requirements by declaring the PEC address (digital domicile) to the Business Register. It enables automated submission of PEC registration or update requests for the company or administrator via API.
The service supports the following types of communications:
To successfully submit the request, the end user (company or administrator) must:
Yes, the communication can be made with any active PEC address, even if not provided by Openapi.
The service is designed for those who need to ensure the correct registration or update of their PEC with the Business Register. It is particularly useful for:
The service is processed within 48 working hours from the request.