TypeScript
const options = {method: 'GET'}; fetch('http://localhost:8000/api/v1/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>" } }
Get invitation details by token. This is a public endpoint that does not require authentication.
1
Invitation details
true
Show child attributes
Was this page helpful?