Skip to main content
GET
/
deployment
/
invitations
/
validate
Validate invitation
curl --request GET \
  --url https://api.wacht.dev/deployment/invitations/validate \
  --cookie session_id=
{
  "valid": true,
  "type": "organization",
  "organization": {
    "id": "<string>",
    "name": "<string>"
  },
  "workspace": {
    "id": "<string>",
    "name": "<string>"
  },
  "inviter": {
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>"
  }
}

Authorizations

session_id
string
cookie
required

Session-based authentication using cookies

Query Parameters

token
string
required

Invitation token

Response

Invitation validated

valid
boolean
Example:

true

type
enum<string>
Available options:
organization,
workspace
Example:

"organization"

organization
object
workspace
object
inviter
object