Skip to main content

Create a user

Create a user with the provided details.

POST/api/v1/integrations/users/

Headers

NameValue
AuthorizationBearer Access Token
Content-Typeapplication/json

Payload

creator
required
string <email>

Email of creator (Active FreJun user)

email
required
string <email>

Email of user to be created

role
required
string

Role of user to be created

license
required
string

One of 'Plan' or 'Viewer'

number
required
string

Phone number of user to be created (E.164 format)

first_name
required
string

First name of user to be created

last_name
string

Last name of user to be created

{}

Response

{
"success": true,
"message": "Successfully created User",
"data": {
"email": "[email protected]",
"is_active": true,
"role": "Admin",
"license": "Plan",
"number": {
"id": 332,
"country_code": "+91",
"phone_number": "81********",
"loc": "India"
},
"first_name": "John",
"last_name": "Doe"
}
}