Skip to main content
Node.js

Authorizations

Authorization
string
header
required

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

Body

application/json
emails
string[]
required

Array of email addresses to invite

Example:
role
string

Role for invited users. Allowed values are admin or member. Defaults to member.

Example:

"member"

labels
string[] | null

Label names to grant access to a member(applies to member role). You can provide the value as null if you want to give access to all labels.

Example:
orgPhones
string[] | null

Phone numbers (without @c.us) to grant access to a member(applies to member role). You can provide the value as null if you want to give access to all phone numbers.

Example:

Response

200 - application/json

200 OK

addedMember
object[]

The list of added members