Skip to main content
POST
/
v1
/
people
/
invite
Invite workforce members
curl --request POST \
  --url https://api.trycomp.ai/v1/people/invite \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "invites": [
    {
      "email": "user@example.com",
      "roles": [
        "employee"
      ],
      "sendPortalEmail": false
    }
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
invites
object[]
required

Response

201 - undefined