API Documentation
POST /persons
This endpoint allows you to enroll a person profile, provided you have consent, thus enabling the auth product on it.
Headers
NAME |
VALUE |
Content-Type |
application/json |
Authorization |
Bearer {token} |
Request
KEY |
REQUIRED |
COMMENT |
email |
Yes |
String. |
first_name |
Yes |
String. |
last_name |
Yes |
String. |
consent |
No |
Deprecated. Use ConsumerConsent instead. |
Response
NAME |
VALUE |
person_id |
The id to refer this person. |
Status Code
CODE |
COMMENT |
201 |
OK, person enrolled |
400 |
Input data not correct |
401 |
User not authorized |