DevPortalPagoPA




Table of contents

Get a User Profile using POST

Description

This API allows you check that the citizen identified by the fiscal code is registered with IO and that the service can send communications to the citizen.
The fiscal code of the citizen will be entered in the body of the post request.
The response is considered positive if both of these conditions are verified:
  1. the status code of the response is 200
  2. the field sender_allowed=true in the response body

Examples

1### REQUEST
2curl --location --request POST 'https://api.io.pagopa.it/api/v1/profiles' \
3--header 'Content-Type: application/json' \
4--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__' \
5--data-raw '{
6"fiscal_code": "AAAAAA00A00A000A"
7}'
8
1### RESPONSE
2{
3"sender_allowed": true
4}
5

Useful resources

Haven't completed onboarding yet and need help?

Write an email describing your problem or question to the address areariservata@assistenza.pagopa.it.

Need help with APIs and Integration?

Write an email describing your problem or question to the address:

io-service-management@pagopa.it

Tell us what you think

To report problems or give feedback, leave a comment in the GitHub space of the IO app