Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Channel members

4 routes. Paths are relative to https://api.intersink.com/v1.

All groups

List a channel's members

GET/channel/{channelId}/members

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
statusrequiredstring, query
qrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Invite a member to a channel

POST/channel/{channelId}/members

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Request body application/json

FieldTypeDescription
emailrequiredstringExample: "member@example.com"
permissionrequiredstringOne of: "admin", "manager", "editor", "view". Example: "manager"

Response

201. The payload in data is not described in the spec yet.

Update a channel member (permission/status)

PATCH/channel/members/{memberId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Request body application/json

FieldTypeDescription
permissionstringOne of: "admin", "manager", "editor", "view".
statusstringOne of: "active", "suspended".

Response

200. The payload in data is not described in the spec yet.

Remove a channel member, or leave the channel (your own active or suspended seat; not the owner)

DELETE/channel/members/{memberId}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
memberIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.