How to Create New Users

Humata provides a straightforward API solution for organizations to handle user sign-up and login processes.

Create a new user.

post

This endpoint allows organization admins to create new user accounts.

Authorizations
AuthorizationstringRequired

API key provided as a Bearer token in the Authorization header.

Body
first_namestringRequiredExample: John
last_namestringRequiredExample: Doe
emailstringRequiredExample: [email protected]
passwordstringRequiredExample: password
bypass_email_verificationbooleanOptionalExample: true
Responses
201

User created successfully.

application/json
post
/v1/users
201

User created successfully.

Generate an OTP Token for a User

post

This endpoint allows organization admins to generate a One-Time Password (OTP) token for their users. OTP tokens expire after 60 minutes.

Authorizations
AuthorizationstringRequired

API key provided as a Bearer token in the Authorization header.

Body
emailstringRequiredExample: [email protected]
providerstringOptionalExample: email
Responses
post
/v1/users/token
200

Token generated successfully.

Last updated