Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 717 Bytes

validateinvitetoken.md

File metadata and controls

33 lines (24 loc) · 717 Bytes

Validate Invite Token

Checks if an invite token is valid. No permissions are required.

URL Requires Auth HTTP Method
/api/v1/validateInviteToken no POST

Payload

Argument Example Required Description
token iS7pza Required The id of the invite being validated.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     http://localhost:3000/api/v1/validateInviteToken \
     -d '{ "token": "iS7pza" }'

Example Result

{
  "valid": true,
  "success": true
}