GET
/
v2
/
invites
Get Invites
curl --request GET \
  --url https://b2b-api.dev-riseworks.io/v2/invites \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "nanoid": "<string>",
      "role": "contractor",
      "invitee_name": "<string>",
      "email": "jsmith@example.com",
      "inviter_name": "<string>",
      "inviter_email": "jsmith@example.com",
      "company": {
        "name": "<string>",
        "avatar": "<string>"
      },
      "team": {
        "name": "<string>",
        "avatar": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

nanoid
required

The nanoid of the company or team to get invites for TeamNanoid

Required string length: 15

Response

200
application/json

Default Response

The response is of type object.