SyncPilledDocs

What an invitation link is for

POST
/v1/invitations/preview

Needs nobody signed in: holding the link's token is the authority. Hosted only.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/invitations/preview" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{  "id": "string",  "organization": {    "id": "string",    "name": "string"  },  "email": "string",  "role": "owner",  "state": "pending",  "invited_by": {    "name": "string",    "email": "string"  },  "expires_at": "string"}