POST
/
v1
/
teams
/
{team}
/
invitations
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team
string<uuid>
required

The team ID

Body

application/json

Response

201
application/json

The response is of type object.