POST
/
api
/
v1
/
workspaces
/
{uuid}
/
users
/
invite
curl --request POST \
  --url https://app.snitcher.com/api/v1/workspaces/{uuid}/users/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john.doe@example.com"
}'
{
  "success": true,
  "message": "An invite link has been sent to john.doe@example.com",
  "data": {
    "invite_link": "https://app.snitcher.com/invite/12345"
  }
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

uuid
string
required

UUID of the workspace

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
email
string
Example:

"john.doe@example.com"

Response

200
application/json
User invited
success
boolean
Example:

true

message
string
Example:

"An invite link has been sent to john.doe@example.com"

data
object