Accept an invite
As the person it was sent to: signed in at Synq with that email, verified. Recorded as `invite.accepted` and `member.added`.
/v1/invites/acceptAs the person it was sent to: signed in at Synq with that email, verified. Recorded as invite.accepted and member.added.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/invites/accept" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'{ "org_id": "string"}List an org's pending invites GET
Needs `org.members.view`.
Invite someone POST
Emails them a link, single-use and valid 7 days, to join with a role (at most the caller's own permissions; never owner). They accept it signed in at Synq with that email. Needs `org.members.edit`. Recorded as `invite.created`.