POST
/
company
/
add-user
curl --request POST \
  --url http://sandbox.mintlify.com/company/add-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "password": "<string>",
  "fullname": "<string>",
  "permissions": [
    123
  ]
}'
{
  "status": "success",
  "message": "<string>",
  "data": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

User details

The body is of type object.

Response

200 - application/json

User added successfully

The response is of type object.