Skip to content

Invite users

Request

Invite new users to specified customer.

POST https://partners.zoined.com/api/customers/{id}/users

Security
partnerToken
Path
idstringrequired

id of customer

Example:dm_company
Bodyapplication/jsonrequired
emailstring, (email)required

Email address for the user

Example:"john.smith@nonexisting.domain"
firstNamestringrequired

First name of the user

Example:"John"
lastNamestringrequired

Last name of the user

Example:"Smith"
rolestring

Role of the user. Either user or admin.

Enum:"user""admin"
Example:"user"
curl -i -X POST \
  https://zone-api.zoined.com/_mock/api/customers/dm_company/users \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "john.smith@nonexisting.domain",
    "firstName": "John",
    "lastName": "Smith",
    "role": "user"
  }'

Responses

When user has been invited successfully.