Invites
6 routes. Paths are relative to https://api.intersink.com/v1.
- POST/invitations/{kind}/{id}/acceptAccept one of my invitations (kind = business | channel)
- POST/invitations/{kind}/{id}/declineDecline one of my invitations (kind = business | channel)
- GET/invitations/meMy pending invitations across businesses and channels, plus ownership transfers offered to me
- POST/invite/acceptAccept an invite as the now-authenticated user
- POST/invite/rejectDecline an invite (no login required)
- GET/invite/resolveDecode + validate an invite token
Accept one of my invitations (kind = business | channel)
POST/invitations/{kind}/{id}/accept
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| kindrequired | string, path | |
| idrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
Decline one of my invitations (kind = business | channel)
POST/invitations/{kind}/{id}/decline
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| kindrequired | string, path | |
| idrequired | string, path |
Response
200. The payload in data is not described in the spec yet.
My pending invitations across businesses and channels, plus ownership transfers offered to me
GET/invitations/me
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| pagerequired | string, query | |
| limitrequired | string, query |
Response
200. The payload in data is not described in the spec yet.
Accept an invite as the now-authenticated user
POST/invite/accept
Needs a signed-in user (Bearer token or access_token cookie).
Response
201. The payload in data is not described in the spec yet.
Decline an invite (no login required)
POST/invite/reject
Public: no sign-in needed.
Response
201. The payload in data is not described in the spec yet.
Decode + validate an invite token
GET/invite/resolve
Public: no sign-in needed.
Parameters
| Name | Type | Description |
|---|---|---|
| tokenrequired | string, query |
Response
200. The payload in data is not described in the spec yet.