Web service that allows you to purchase or renew Infocert or Aruba digital signatures, and to obtain digital identities.
This method shows you the list of all our products
Array of objects (Prodotto) [ items ] | |
| success | boolean |
| message | string |
| error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/prodotti"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "nome": "Rinnovo Certificato Firma",
- "tipo": "Infocert",
- "codice_prodotto": "RINFIR",
- "prezzo": 9
}, - {
- "nome": "Business Key",
- "tipo": "Infocert",
- "codice_prodotto": "KEY",
- "prezzo": 40
}, - {
- "nome": "Lettore Smart Card USB",
- "tipo": "Infocert",
- "codice_prodotto": "LETTORE",
- "prezzo": 13,
- "vergine": true
}, - {
- "nome": "Kit Firma Digitale",
- "tipo": "Infocert",
- "codice_prodotto": "KIT",
- "prezzo": 39.7
}, - {
- "nome": "Firma Digitale Remota Infocert",
- "tipo": "Infocert",
- "codice_prodotto": "FIRREM",
- "prezzo": 25.7
}, - {
- "nome": "Business Key CNS",
- "tipo": "Infocert",
- "codice_prodotto": "KEYCNS",
- "prezzo": 40.7
}, - {
- "nome": "Smart Card Infocert CNS",
- "tipo": "Infocert",
- "codice_prodotto": "SMARTCARDCNS",
- "prezzo": 25.7
}, - {
- "nome": "Rinnovo CNS Infocert",
- "tipo": "Infocert",
- "codice_prodotto": "RINCNS",
- "prezzo": 9
}, - {
- "nome": "Kit CNS Infocert",
- "tipo": "Infocert",
- "codice_prodotto": "KITCNS",
- "prezzo": 40.3
}, - {
- "nome": "Smart Card Aruba CNS",
- "tipo": "Aruba",
- "codice_prodotto": "SCARUBACNS",
- "prezzo": 22.4
}, - {
- "nome": "Aruba Key CNS",
- "tipo": "Aruba",
- "codice_prodotto": "ARUBAKEYCNS",
- "prezzo": 39.4
}, - {
- "nome": "Firma Aruba OTP Display",
- "tipo": "Aruba",
- "codice_prodotto": "OTPDIS",
- "prezzo": 25.2
}, - {
- "nome": "Firma Aruba OTP Mobile",
- "tipo": "Aruba",
- "codice_prodotto": "OTPMOB",
- "prezzo": 21.7
}, - {
- "nome": "Firma Estero",
- "tipo": "Infocert",
- "codice_prodotto": "FIREST",
- "prezzo": 49.7
}, - {
- "nome": "Videoriconoscimento Aruba",
- "tipo": "Aruba",
- "codice_prodotto": "VIDEORIC",
- "prezzo": 15
}, - {
- "nome": "Firma Digitale",
- "tipo": "Infocert",
- "codice_prodotto": "FIR",
- "prezzo": 22.7
}, - {
- "nome": "Firma Digitale Vergine",
- "tipo": "Infocert",
- "codice_prodotto": "FIR_V",
- "prezzo": 22.7,
- "vergine": true
}, - {
- "nome": "Business Key Vergine",
- "tipo": "Infocert",
- "codice_prodotto": "KEY_V",
- "prezzo": 40,
- "vergine": true
}, - {
- "nome": "Firma Digitale Remota Infocert Vergine",
- "tipo": "Infocert",
- "codice_prodotto": "FIRREM_V",
- "prezzo": 25.7,
- "vergine": true
}, - {
- "nome": "Business Key CNS Vergine",
- "tipo": "Infocert",
- "codice_prodotto": "KEYCNS_V",
- "prezzo": 40.7,
- "vergine": true
}, - {
- "nome": "Smart Card Infocert CNS Vergine",
- "tipo": "Infocert",
- "codice_prodotto": "SMARTCARDCNS_V",
- "prezzo": 25.7,
- "vergine": true
}, - {
- "nome": "Smart Card Infocert CNS Con Videoriconoscimento",
- "tipo": "Infocert",
- "codice_prodotto": "SMARTCARDCNS_VIDEO",
- "prezzo": 57.9
}, - {
- "nome": "Business Key CNS Con Videoricoscimento",
- "tipo": "Infocert",
- "codice_prodotto": "KEYCNS_VIDEO",
- "prezzo": 77.9
}, - {
- "nome": "Firma Digitale Remota Infocert Con Videoriconoscimento",
- "tipo": "Infocert",
- "codice_prodotto": "FIRREM_VIDEO",
- "prezzo": 63.7
}, - {
- "nome": "Rinnovo Firma Remota",
- "tipo": "Infocert",
- "codice_prodotto": "RINFIRREM",
- "prezzo": 19.7
}, - {
- "nome": "Spid Personale",
- "tipo": "Namirial",
- "codice_prodotto": "SPID_PER",
- "prezzo": 14.2
}
], - "success": true,
- "message": "",
- "error": null
}This method allows you to purchase all the products on this web service such as smartcard readers or digital signatures
| codice_prodotto required | string Default: "<string>" Example: FIR Type of codice_prodotto you want to buy |
Category reference schemes:
| assistenza | boolean Default: "<boolean>" product assistance |
object (Callback) |
ResponseRinnovo (object) or ResponseFirmaEstero (object) or ResponseFirma (object) or ResponseLettore (object) or ResponseFirmeVideoriconoscimento (object) or ResponseFirmeAruba (object) | |
| success | boolean |
| message | string |
| error | integer |
{- "assistenza": true,
- "urgenza": true,
- "spedizione": "veloce",
- "anagrafica_spedizione": {
- "cellulare": "349xxxxx18",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100"
},
}{- "data": {
- "videoriconoscimento": true,
- "documento": true,
- "anagrafica": {
- "nome": "alberto",
- "cognome": "neri",
- "cellulare": "349xxxxx18",
- "codice_fiscale": "vnxxxxxxxl1x7d",
- "data_nascita": "28/12/2000",
- "sesso": "M",
- "comune_nascita": "terni",
- "provincia_nascita": "terni",
- "nazione_nascita": "terni",
- "indirizzo_residenza": "via rossi 2",
- "comune_residenza": "terni",
- "provincia_residenza": "terni",
- "cap_residenza": "05100",
- "nazione_residenza": "italia",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "tipo_documento": "patente",
- "numero_documento": "123456",
- "soggetto_emittente": "mctc",
- "data_emissione": "05/11/1990",
- "data_scadenza": "12/12/2020"
}, - "callback": {
- "method": "JSON",
- "field": "data",
- "data": { }
}, - "codice_richiesta": "d1e4a",
- "prodotto": "Smart Card Aruba CNS",
- "codice_prodotto": "SCARUBACNS",
- "tipo": "Aruba",
- "stato": "in_registrazione",
- "timestamp": {
- "acquisto": 1602587629
}, - "urgenza": false,
- "quantita": 1,
- "spedizione": "ordinaria",
- "assistenza": false,
- "fornitore": {
- "ragione_sociale": "Openapi Srl",
- "sede_legale": "Viale F. Tommaso Marinetti 221 - 00143 Roma (RM)",
- "partita_iva": "07432261001",
- "legale_rappresentante": "",
- "email_assistenza": "",
- "email_contabilita": "",
- "telefono_assistenza": "",
- "sede_riconoscimento": "Piazza San Giovanni Decollato 6 - 05100 Terni (TR)"
}, - "firma": {
- "codice_spedizione": "",
- "pin": "",
- "puk": "",
- "numero_dispositivo": "",
- "codice_carta": "",
- "numero_busta": "",
- "codice_utente": "",
- "iut": "",
- "alias": "",
- "codice_emergenza": ""
}, - "id": "5f7ef1e83a716836d3152662",
- "modulo": false
}, - "success": true,
- "message": "",
- "error": null
}{- "data": {
- "videoriconoscimento": true,
- "documento": true,
- "anagrafica": {
- "nome": "alberto",
- "cognome": "neri",
- "cellulare": "349xxxxx18",
- "codice_fiscale": "vnxxxxxxxl1x7d",
- "data_nascita": "28/12/2000",
- "sesso": "M",
- "comune_nascita": "terni",
- "provincia_nascita": "terni",
- "nazione_nascita": "terni",
- "indirizzo_residenza": "via rossi 2",
- "comune_residenza": "terni",
- "provincia_residenza": "terni",
- "cap_residenza": "05100",
- "nazione_residenza": "italia",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "tipo_documento": "patente",
- "numero_documento": "123456",
- "soggetto_emittente": "mctc",
- "data_emissione": "05/11/1990",
- "data_scadenza": "12/12/2020"
}, - "callback": {
- "method": "JSON",
- "field": "data",
- "data": { }
}, - "codice_richiesta": "d1e4a",
- "prodotto": "Smart Card Aruba CNS",
- "codice_prodotto": "SCARUBACNS",
- "tipo": "Aruba",
- "stato": "in_registrazione",
- "timestamp": {
- "acquisto": 1602587629
}, - "urgenza": false,
- "quantita": 1,
- "spedizione": "ordinaria",
- "assistenza": false,
- "fornitore": {
- "ragione_sociale": "Openapi Srl",
- "sede_legale": "Viale F. Tommaso Marinetti 221 - 00143 Roma (RM)",
- "partita_iva": "07432261001",
- "legale_rappresentante": "",
- "email_assistenza": "",
- "email_contabilita": "",
- "telefono_assistenza": "",
- "sede_riconoscimento": "Piazza San Giovanni Decollato 6 - 05100 Terni (TR)"
}, - "firma": {
- "codice_spedizione": "",
- "pin": "",
- "puk": "",
- "numero_dispositivo": "",
- "codice_carta": "",
- "numero_busta": "",
- "codice_utente": "",
- "iut": "",
- "alias": "",
- "codice_emergenza": ""
}, - "id": "5f7ef1e83a716836d3152662",
- "modulo": false
}
}This method shows you the list of all your requests
| codice_prodotto | string Default: "<string>" Example: codice_prodotto=FIR Type of codice_prodotto |
Array of objects (Richieste) [ items ] | |
| success | boolean |
| message | string |
| error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/richiesta?codice_prodotto=FIR"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "_id": "5f774d903a71681fce3c71d3",
- "assistenza": true,
- "urgenza": true,
- "spedizione": "veloce",
- "codice_richiesta": 1,
- "prodotto": "Firma Digitale",
- "codice_prodotto": "FIR",
- "tipo": "Infocert",
- "stato": "in_riconoscimento",
- "timestamp": {
- "acquisto": 1602587629,
- "emissione": 1602587629,
- "evasione": 1602587629,
- "scadenza": 1791890029
}, - "owner": "[email protected]"
}, - {
- "_id": "5f7b1f8b3a716857774a4362",
- "assistenza": true,
- "urgenza": false,
- "spedizione": false,
- "codice_richiesta": 6,
- "prodotto": "Rinnovo Certificato Firma",
- "codice_prodotto": "RINFIR",
- "tipo": "Infocert",
- "stato": "evasa",
- "timestamp": {
- "acquisto": 1602587629,
- "emissione": 1602587629,
- "evasione": 1602587629,
- "scadenza": 1791890029
}, - "owner": "[email protected]"
}
], - "success": true,
- "message": "",
- "error": null
}This method shows you the specific request related to the id
| id required | string Default: "<string>" Example: 5f7b2e323a716857774a4373 request id |
ResponseRinnovo (object) or ResponseFirmaEstero (object) or ResponseFirma (object) or ResponseLettore (object) or ResponseFirmeVideoriconoscimento (object) or ResponseFirmeAruba (object) | |
| success | boolean |
| message | string |
| error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/richiesta/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
The same exemple for /FIR_V /LETTORE /KEY_V /FIRREM_V /KEYCNS_V /SMARTCARDCNS_V
{- "data": {
- "anagrafica_spedizione": {
- "cellulare": "349xxxxx18",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "note": ""
}, - "callback": {
- "method": "JSON",
- "field": "data",
- "data": { }
}, - "codice_richiesta": "c335c",
- "prodotto": "Smart Card Infocert CNS Vergine",
- "codice_prodotto": "SMARTCARDCNS_V",
- "tipo": "Infocert",
- "stato": "in_lavorazione",
- "assistenza": false,
- "urgenza": false,
- "spedizione": "ordinaria",
- "videoriconoscimento": false,
- "quantita": 1,
- "timestamp": {
- "acquisto": 1602587629
}, - "fornitore": {
- "ragione_sociale": "Openapi Srl",
- "sede_legale": "Viale F. Tommaso Marinetti 221 - 00143 Roma (RM)",
- "partita_iva": "07432261001",
- "legale_rappresentante": "",
- "email_assistenza": "",
- "email_contabilita": "",
- "telefono_assistenza": "",
- "sede_riconoscimento": "Piazza San Giovanni Decollato 6 - 05100 Terni (TR)"
}, - "firma": {
- "codice_spedizione": "",
- "pin": "",
- "puk": "",
- "numero_dispositivo": "",
- "codice_carta": "",
- "numero_busta": "",
- "codice_utente": "",
- "iut": "",
- "alias": "",
- "codice_emergenza": ""
}, - "id": "5f7ef1e83a716836d3152662",
- "modulo": false,
- "documento": false
}, - "success": true,
- "message": "",
- "error": null
}This method allows you to upload the form and identification document
| id required | string Default: "<string>" Example: 5f7b2e323a716857774a4373 request id |
| documento | string Default: "<string>" ID document file encoded in base 64 |
| nome_documento | string Default: "<string>" name of the file |
| modulo | string Default: "<string>" recognition form file encoded in base 64 |
| nome_modulo | string Default: "<string>" name of the file |
ResponseFirma (object) or ResponseFirmeAruba (object) | |
| success | boolean |
| message | string |
| error | integer |
{- "modulo": "MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIID6CVQREYtMS40CiXi48/TCjEgMCBvYmoKPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNTgyL04gMz4+c3RyZWFtCnictVZnVFPZFj733vRCCyCd0GuQTgDpvUmRLiohCRBKgJAAKnZEBUYQEWkWkEERBxyVImNBLFgYFBRRQSfIoKCOgwUbKu8Gf+is9db7Ne9b69773W/tvc8++/w4HwDkqTR2ejYMAEjnCwVhPu706JhYOv4+QIAqUAC6QJPFzs50Cw",
- "nome_modulo": "modulo.pdf",
- "documento": "YCQEUVEC2EgTMQDCUZikUREgKxHipBKpAFpRbqRPuQ2IkZeIB8xOAwNQ8cwMI4YX0wEho3JwqzHlGBqMEcwHZhLmNuYccwM5iuWilXDmmAdsH7YaGwSNhdbiK3ENmHbsZexw9hJ7DscDqeIM8DZ4XxxMbgU3FpcCW4frg3XgxvETeBm8Xi8Mt4E74QPxrPwQnwhvhp/DH8eP4SfxH8gkAmaBEuCNyGWwCdsJlQSjhLOEYYITwlzRBmiHtGBGEzkEFcTS4mNxG7iTeIkcY4kSzIgOZHCSSmkTaQqUivpMmmM9IZMJmuT7cmhZB55I7mKfJx8lTxO/kiRoxhTPChxFBFlJ+UwpYdyn/KGSqXqU12psVQhdSe1",
- "nome_documento": "documento.pdf"
}The same exemple for /KEY /FIR /KIT /FIRREM /KEYCNS /KITCNS /SMARTCARDCNS
{- "data": {
- "anagrafica": {
- "nome": "alberto",
- "cognome": "neri",
- "cellulare": "349xxxxx18",
- "codice_fiscale": "vnxxxxxxxl1x7d",
- "data_nascita": "28/12/2000",
- "sesso": "M",
- "comune_nascita": "terni",
- "provincia_nascita": "terni",
- "nazione_nascita": "terni",
- "indirizzo_residenza": "via rossi 2",
- "comune_residenza": "terni",
- "provincia_residenza": "terni",
- "cap_residenza": "05100",
- "nazione_residenza": "italia",
- "destinatario": "alberto neri",
- "indirizzo_spedizione": "via rossi 2",
- "comune_spedizione": "terni",
- "provincia_spedizione": "terni",
- "cap_spedizione": "05100",
- "tipo_documento": "patente",
- "numero_documento": "123456",
- "soggetto_emittente": "mctc",
- "data_emissione": "05/11/1990",
- "data_scadenza": "12/12/2020",
- "note": ""
}, - "callback": {
- "method": "JSON",
- "field": "data",
- "data": { }
}, - "codice_richiesta": "8417d",
- "prodotto": "Firma Digitale Remota Infocert",
- "codice_prodotto": "FIRREM",
- "tipo": "Infocert",
- "stato": "in_riconoscimento",
- "timestamp": {
- "acquisto": 1602587629,
- "registrazione": 1681226069
}, - "assistenza": false,
- "urgenza": false,
- "spedizione": "veloce",
- "videoriconoscimento": false,
- "quantita": 1,
- "fornitore": {
- "ragione_sociale": "Openapi Srl",
- "sede_legale": "Viale F. Tommaso Marinetti 221 - 00143 Roma (RM)",
- "partita_iva": "07432261001",
- "legale_rappresentante": "",
- "email_assistenza": "",
- "email_contabilita": "",
- "telefono_assistenza": "",
- "sede_riconoscimento": "Piazza San Giovanni Decollato 6 - 05100 Terni (TR)"
}, - "firma": {
- "codice_spedizione": "",
- "pin": "",
- "puk": "",
- "numero_dispositivo": "",
- "codice_carta": "",
- "numero_busta": "",
- "codice_utente": "",
- "iut": "",
- "alias": "",
- "codice_emergenza": ""
}, - "id": "5f7ef1e83a716836d3152662",
- "modulo": true,
- "documento": true
}, - "success": true,
- "message": "",
- "error": null
}This method allows you to directly download the recognition form in pdf format which must then be completed and sent by raccomandata to the fornitore; it is essential to complete the evasion of a procedure for purchasing a digital signature; it is not needed for the renewal of a signature
| id required | string Default: "<string>" Example: 5f7b2e323a716857774a4373 request id |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/richiesta/%7Bid%7D/modulo"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
This endpoint is deprecated and no longer supported
Please migrate to the new service, you can find the documentation for the new integration here.
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica/base"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "content-type: application/json"); headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
Array of objects (FesBaseResponse) <= 2 items [ items ] | |
| success | boolean |
| message | string |
| error | string |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "id": "string",
- "filename": "fes_{timestamp}.pdf",
- "title": "string",
- "description": "string",
- "members": [
- {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "phone": "string",
- "status": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "sign_link": "string"
}, - {
- "firstname": "string",
- "lastname": "string",
- "email": "string",
- "phone": "string",
- "status": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "sign_link": "string"
}
], - "status": "created",
- "download_link": "string",
- "callback_status": "string",
- "callback": {
- "method": "string",
- "field": "string",
- "url": "string"
}
}
], - "success": true,
- "message": "string",
- "error": "string"
}| id required | string Default: "<string>" Example: 923j90n02n1w51504b6ea145 |
object (FesBaseResponse) | |
| success | boolean |
| message | string |
| error | string |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
Once the signing process is compleated you can use this endpoint to get a the base64-encoded output of you pdf file.
| id required | string Default: "<string>" Example: 923j90n02n1w51504b6ea145 |
| content | string A base64 encoding of your SIGNED pdf file. |
| success | boolean |
| message | string |
| error | string |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica/%7Bid%7D/download"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "content": "aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1kUXc0dzlXZ1hjUQ==",
- "success": true,
- "message": "string",
- "error": "string"
}Retrieve the audit trail for the specified electronic signature.
# Download audit trail in JSON format
curl -X GET https://ws.firmadigitale.com/firma_elettronica/923j90n02n1w51504b6ea145/audit
The response will contain the audit trail information for the electronic signature.
| id required | string Default: "<string>" Example: 923j90n02n1w51504b6ea145 |
object | |
| success | boolean Indicates whether the electronic signature operation was successful. |
| message | string A message related to the electronic signature operation. |
| error | object Error details related to the electronic signature operation. |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica/%7Bid%7D/audit"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": {
- "111111e9-a48d-4a59-b256-111111fc7e6b": {
- "firstname": "franco",
- "lastname": "rossi",
- "phone": "+39333333333",
- "status": "done",
- "position": 1,
- "createdAt": "2024-02-13T11:03:40+01:00",
- "updatedAt": "2024-02-13T11:04:13+01:00",
- "audit_trail": {
- "files": [
- {
- "id": "111111111-25c2-481e-8156-********",
- "name": "The best name for my file.pdf",
- "sha256": "akjsgafakjsfakjfaldhgaslòdfkagòfag141ògfaòfsgasfk",
- "revisions": [
- {
- "reason": "Signed by Franco Rossi",
- "sha256": "54e150d9030a4ba8f2f4a2f33e46c916a3ecc6e7ecc55c81bfefcce975273b17",
- "timestamp": false,
- "certificate": {
- "dn": "CN=[TEST] YOUSIGN cachet, C=FR, O=YOUSIGN, 2.5.4.97=NTRFR-794513986, OU=002 794513986, serialNumber=2023-10-02 09:28:10:989",
- "content": "-----BEGIN CERTIFICATE-----\nMIIHGTCCBQGgAwIBAgIIDPL2eNqLfaowDQYJKoZIhvcNAQELBQAwgYExKTAnBgNV\nBAMMIFlPVVNJR04gU0FTIC0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nCfhm0k1Nt9UXoc9mQzFUK0DWJNLeGJo0rfRQh5ZqhcBG2U0KZFQ\nRtQQEf3zXJxQJGlCn1UMZMJswAzfhMTdGPNzyDI2u+9Q8WT7M2f59Idiae2m79uG\nuStRwN7Vnrpa399YXixOpNTz6d0NFBOAq1Nfwy5cnQDCnT9JkrKidrFKyA21b67m\nSfJIpMSPfFbt3g0h7JPWK7OC4Ydydh92e7/IUhtkudKMoazlwSJ7484dE7NyTpol\n62H0sW/1gmFzE6/QmCUR+w==\n-----END CERTIFICATE-----\n",
- "country": "IT",
- "lastname": null,
- "firstname": null,
- "generatedAt": "2023-10-02T09:28:11+02:00"
}, - "reason_source": "Default value added by Yousign"
}
], - "contentType": "application/pdf",
- "consentProcesses": [ ]
}
], - "member": {
- "id": "111111111-25c2-481e-7156-********",
- "ip": "00.111.111.111",
- "phone": "+39333333333",
- "lastname": "ROSSI",
- "signedAt": "2024-02-13T11:04:13",
- "firstname": "Franco",
- "operationLevel": "custom",
- "authentications": [
- {
- "mode": "sms",
- "sha256": "adfaDFADFASDFASDFASDFASDFWEEWQFSDAFADSFASafaedvafafeae",
- "channel": "text",
- "content": "eSIGNATURE: {{code}} is your security code to confirm the signature of your documents.",
- "validatedAt": "2024-02-13T11:04:12"
}
]
}, - "procedure": {
- "id": "6f89bd7d-2409-4e4a-8676-942834249539",
- "name": "A test prova",
- "createdAt": "2024-02-13T11:03:40",
- "expiredAt": null,
- "startedAt": "2024-02-13T11:03:40",
- "workspace": {
- "id": "/workspaces/d27e41f8-24f1-439d-a0ef-be6aae15fa44",
- "name": "openapi.it"
}, - "description": "A test description",
- "organization": {
- "id": "/organizations/0a85ecfa-cfad-4290-af81-1c68c0222c99",
- "ip": "1.11.111.111",
- "name": "openapi.it"
}, - "coolingOffPeriodEndsAt": null
}, - "consentProcesses": [ ]
}
}
}, - "success": true,
- "message": "",
- "error": null
}This endpoint is deprecated and no longer supported.
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica_ui"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "content-type: application/json"); headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica_ui"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica_ui/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/firma_elettronica_ui/%7Bid%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
Methods that allow you to obtain 4 types of spid (at the moment only personal spid is available)
This method allows you to obtain a url for registering a personal spid with a duration of 1 year
object | |
| success | boolean |
| message | string |
| error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://ws.firmadigitale.com/spid_personale"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "message": "",
- "success": true,
- "error": null
}