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