Skip to main content
POST
/
v2
/
invites
Create invites for employees and contractors
curl --request POST \
  --url https://b2b-api.dev-riseworks.io/v2/invites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nanoid": "<string>",
  "invites": [
    {
      "email": "jsmith@example.com"
    }
  ],
  "anonymous": true
}
'
{
  "data": {
    "nanoids": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://v2-docs.riseworks.io/llms.txt

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

Authorizations

Authorization
string
header
required

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

Body

application/json
nanoid
string
required

TeamNanoid

Required string length: 15
Pattern: ^te-.*
invites
object[]
required
role
enum<string>
required
Available options:
contractor,
team_employee,
aor_contractor
anonymous
boolean

Response

Default Response

success
enum<boolean>
required
Available options:
true
data
object
required