Invite Members¶
POST /api/v1/workspace/member/batch_invitation
Overview¶
Invite one/multiple members
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| to | array | Y | List of invitees Example: ['[email protected]', '[email protected]'] Allow empty: True |
| roleUUIDs | array | Y | List of role UUIDs for invitees Example: ['xxx', 'xxx'] Allow empty: False |
| method | string | Y | Invitation method Example: None Allow empty: False Optional values: ['email'] |
Additional Parameter Information¶
Request Example¶
curl 'https://openapi.truewatch.com/api/v1/workspace/member/batch_invitation' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"to": ["[email protected]"], "method": "email", "roleUUIDs": ["general"]}' \
--compressed