Skip to main content
GET
/
v1
/
auth
/
invitations
/
{token}
Get invitation
const options = {method: 'GET'};

fetch('http://localhost:8000/v1/auth/invitations/{token}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "token": "<string>",
    "email": "jsmith@example.com",
    "role": "owner",
    "organization": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>"
    },
    "expiresAt": "<string>",
    "userExists": true
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Path Parameters

token
string
required
Minimum string length: 1

Response

Invitation details

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required