Create user
POST/v1/users
Creates one of the project's end users and returns its id. Keep that id with your own record of the user: every call creates a new user. Send issue_token: true to get the user's first token in the same answer.
Request
Responses
- 201
- 401
- 403
- 404
- 413
- 422
- 429
- 500
Successful Response
Authentication failed: the credential is missing, malformed, expired, or revoked.
invalid_token— The access token is invalid.project_disabled— This project is not active.token_expired— The access token has expired.user_disabled— This user is not active.invalid_secret— The API secret is invalid.
The caller is authenticated but not permitted to perform this action.
permission_denied— You do not have permission to perform this action.project_disabled— This project is not active.
The requested resource does not exist, or is not visible to the caller.
project_not_found— The requested project was not found.
The request body is larger than the allowed limit.
payload_too_large— The request body is too large.
A request value failed validation; the details array names each offending field.
validation_failed— The request payload failed validation.
Either too many requests (a Retry-After header says when to retry) or the billing account is out of credits (no Retry-After — top up to continue); the code field tells the two apart.
rate_limited— Too many requests. Please slow down.
An unexpected server-side error occurred.
internal— An unexpected error occurred.