1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. POST /persons

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

How can we help?