cURL
curl --request POST \ --url https://api.comm.com/api/v1/teams/{team}/invitations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "emails": [ "[email protected]" ], "role": "admin" } '
{ "message": "Invitations created" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The team ID
1 - 15
admin
member
"Invitations created"