Get a User Profile
Last updated
Last updated
Attenzione: la seguente API sarà a breve deprecata, pertanto se ne sconsiglia l’uso. Utilizzare Get a User Profile using POST
Questa API permette di controllare che il cittadino identificato tramite codice fiscale sia iscritto ad IO, e che il servizio possa inviare comunicazioni al cittadino stesso.
La risposta è ritenuta positiva se sono verificate entrambe queste condizioni:
lo status code della risposta è 200
nel body di risposta il campo sender_allowed=true
https://developer.io.italia.it/openapi.html#operation/getProfile
Returns the preferences for the user identified by the provided
fiscal code. The field sender_allowed
is set fo false
in case
the service which is calling the API has been disabled by the user.
/profiles/{fiscal_code}
The fiscal code of the user, all upper case.
SPNDNL80R13C555X
[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]