Logo
Openapi.it Public API Documentation

{{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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "data": { "casella_pec": "yourpec@testcert.legalmail.it", "tipo_casella": "BRONZE", "tipo_cliente": "PV", "sottotipo_cliente": "", "sottotipo_cliente_altro": "", "nome_richiedente": "mario", "cognome_richiedente": "rossi", "email": "mail@domain.com", "telefono": "0548798569", "codice_fiscale_richiedente": "RSSXXXXXXXX56E", "data_nascita_richiedente": "11/04/1982", "sesso_richiedente": "M", "nazione_nascita_richiedente": "IT", "provincia_nascita_richiedente": "RM", "denominazione_titolare": "", "cf_piva_titolare": "", "indirizzo_titolare": "via verdi 20", "comune_titolare": "roma", "cap_titolare": "00042", "nazione_titolare": "IT", "provincia_titolare": "rm", "callback": { "url": "https://your_domain.it/your_callback.php", "field": "data", "method": "POST", "data": {} }, "dominio": "testcert.legalmail.it", "owner": "mail@domain.com", "timestamp": { "registrazione": 1615199724, "ultima_modifica": 1615200175 }, "cellulare": "", "comune_nascita_richiedente": "", "cod_attivazione": "10174594", "uid": "MA178634", "conservazione": false, "data_scadenza": "", "descrizione": "yourpec@testcert.legalmail.it", "sms": false, "spazio_conservazione": 0, "spazio_disco": 0, "spazio_storico": 0, "stato": "in_evasione", "storico": false, "documenti_attivazione": [ "6045fdee3a716847a978a471_0_attivazione.pdf", "6045fdee3a716847a978a471_1_attivazione.pdf" ], "id": "6045fdee3a716847a978a471", "autorinnovo": false }, "success": true, "message": "", "error": null }

Curl
curl -X PATCH 'baseUrl/pec/:id/attivazione' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"documenti":"\u003cstring\u003e"}'

ENDPOINTS