Create account users

This endpoint allows the creation of new users linked to the organization via API.

By using this functionality, you can add new members to the organization, configuring the appropriate permission levels and ensuring that all necessary data, such as contact details, email, name, etc., are properly registered for the new user.

The request method is POST. If you use PATCH or PUT it will not have the desired effect.

Create new users

POSThttps://api.zapsign.com.br/api/v1/users/create-user

Headers

Name
Type
Description

Authorization*

string

apiToken ahead of the "Bearer" text.

Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23

Request Body

Name
Type
Description

email

string

User's email. A string of up to 255 characters and must be a valid email address. (Required field)

role

string

User's permission level within the company. Possible values: "member", "admin", "self_docs_limited" (Limited access to own documents). Default: "self_docs_limited".

first_name

string

User's first name. A string of up to 255 characters.

last_name

string

User's last name. A string of up to 255 characters.

phone_country

string

User's country code. (e.g., 55).

phone_number

string

User's phone number. (e.g., 11999999999).

Warning: It is not possible to create a new user with 'owner' permission.

Request

{
    "email":"[email protected]",
    "role":"admin",
    "first_name":"Lorem",
    "last_name":"Ipsum",
    "phone_country":"55",
    "phone_number":"11999999999"
}

Response

{
    "message": "User created successfully."
}

Last updated

Was this helpful?