API referenceApp node API
Invitation routes
Invitations to join teams.
POST
Requires team capability users.invite. Acts on the team in the id path parameter.
ttrTokenheader
ttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringapplication/json- body
email*stringFormat
emailrole*stringValue in
"team_lead""member""viewer"Default Response
curl -X POST 'https://your-app-node-url/v1/teams/string/invites' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "role": "team_lead"}'Example Response200
Empty
DELETE
Requires team capability users.invite. Acts on the team in the id path parameter.
ttrTokenheader
ttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
id*stringinviteId*stringDefault Response
curl -X DELETE 'https://your-app-node-url/v1/teams/string/invites/string' \ -H 'ttr-token: <session-token>'Example Response200
Empty
POST
Authentication is optional; when a ttr-token is sent it is validated.
ttrTokenheader
ttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
token*stringLength
1 <= lengthemail?stringFormat
emailpassword?stringLength
6 <= lengthname?stringLength
1 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/v1/invites/accept' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'Example Response200
Empty