Skip to content

Get an invitation by token

GET
/invitations/lookup
curl --request GET \
--url 'https://example.com/invitations/lookup?token=example'

Deliberately unauthenticated: the signup page shows “Join Acme Gas as a driver” before the invitee has an account. Returns only the tenant name, the role and who invited them.

token
required

The raw token from the invitation link

string
>= 1 characters

The raw token from the invitation link

The offer

Media typeapplication/json
object
tenant
required
object
id
required

UUID v7

string format: uuid
name
required
string
slug
required
string
email
required
string format: email
role
required

Owner: billing, deleting the tenant, full control of members. admin: all operational work and may manage drivers and admins. driver: their own round only.

string
Allowed values: owner admin driver
invitedByName
required
string | null
expiresAt
required
string format: date-time
Example
{
"tenant": {
"id": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f",
"name": "Acme Gas",
"slug": "acme-gas"
},
"role": "owner"
}

Unknown, already used, revoked or expired

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}