GET
/
workspaces
/
{workspaceSlug}
/
invites
curl --request GET \
  --url https://global.thenile.dev/workspaces/{workspaceSlug}/invites \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "sender": {
      "id": "<string>",
      "email": "<string>",
      "workspaces": [
        {
          "id": "<string>",
          "name": "<string>",
          "slug": "<string>",
          "stripe_customer_id": "<string>",
          "created": "2023-11-07T05:31:56Z"
        }
      ],
      "databases": [
        "<string>"
      ],
      "kind": "HUMAN"
    },
    "email": "<string>",
    "workspace": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "stripe_customer_id": "<string>",
      "created": "2023-11-07T05:31:56Z"
    },
    "verificationState": "EMAIL_PENDING",
    "created": "2023-11-07T05:31:56Z",
    "updated": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceSlug
string
required

Query Parameters

verificationState
object

Response

200
application/json
List of invites
id
string
required
sender
object
required
email
string
required
workspace
object
required
verificationState
enum<string>
required
Available options:
EMAIL_PENDING,
EMAIL_SENT,
VERIFIED,
EXPIRED
created
string
updated
string