Create identity
Last updated
Was this helpful?
Last updated
Was this helpful?
The identity creation process is necessary to enable authentication for a given user. Subsequent authentication attempts for this user will be compared against this created identity, based on the personId, while storing the user's context data. A clear selfie is required, used for facial validation.
Email and phone are optional for the API, but required if you intend to allow OTPs as a means of re-authenticating this user. In this case, in addition to enabling email or SMS in the authentication policy, users must have an email and phone number registered.
All calls to the API are authenticated and must have the token next to Bearer
prefix in the Authorization
header of the request. Calls with a missing or invalid access token will return status code 401 ("Unauthorized").
The token used to make requests to the API is the access token generated according to these instructions..
Create Identity of new users.
/identities
Identity Authorization Token
Bearer your_token_here
The name of the user who will be authenticated.
First Middle Last
The registry id of the user who will be authenticated. In Brazil, this id is the CPF
952.360.980-76
The url of the selfie of the user who will be authenticated.
https://imageurlink.jpeg
The phone number of the user who will be authenticated. You must inform phone with country and region code. (country code + region code + phone)
5521982895497