e-Próspera
Reference

Get the authenticated natural person

View as Markdown
GET
/api/v1/me/natural-person

Authorization

AuthorizationBearer <token>

In: header

Scope: eprospera:person.details.read

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/me/natural-person"
{  "givenName": "string",  "surname": "string",  "name": "string",  "residentPermitNumber": "string",  "countryOfBirth": "string",  "citizenships": [    "string"  ],  "dateOfBirth": "2019-08-24T14:15:22Z",  "sex": "M",  "address": {    "country": "string",    "line1": "string",    "line2": "string",    "city": "string",    "state": "string",    "postalCode": "string"  },  "phoneNumber": "string"}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}