Docs

Get Workspace Invitation Preview

GET
/v1/invitations/{token}

Authorization

AuthorizationBearer <token>

API key for authentication, must be provided as a Bearer token. Generate an API key at https://alien.dev/api-keys

In: header

Path Parameters

token*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/invitations/string"
{  "kind": "email",  "workspace": {    "id": "ws_It13CUaGEhLLAB87simX0",    "name": "string",    "logoUrl": "http://example.com"  },  "inviter": {    "name": "string",    "image": "http://example.com"  },  "role": "workspace.member",  "expiresAt": "2019-08-24T14:15:22Z",  "state": "active",  "emailHint": "string"}