curl --request POST \
--url http://localhost:3000/users/invitations/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"role": "editor",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"statusCode": 123,
"message": "OK",
"data": {
"token": "<string>"
}
}curl --request POST \
--url http://localhost:3000/users/invitations/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"role": "editor",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"statusCode": 123,
"message": "OK",
"data": {
"token": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.