Create User (Auth Reliance)
The **Create User** API is used to create or fetch a user. This API is applicable only for [**Auth Reliance Flows**](/features/auth-reliance).
Pass the authenticated user's identifier in `x-user-identifier` and the partner access token in
`x-access-token`.
| Scenario | Behavior |
| --- | --- |
| New user | Creates the user and returns the KYC status. |
| Existing user | Returns the existing user details and KYC status. |
Headers
x-user-identifier
Your authenticated user Email Id address.
Note: This is applicable only for Auth Reliance Flows
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
Note: This is applicable only for Auth Reliance Flows
Response
200 - Success
data
Errors
401
Unauthorized Error
500
Internal Server Error