staqlydocs
REST APIAPI referenceChannels

The choices of a channel's remote setting, from its platform

The choices of a channel's remote setting, from its platform (channels:read)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/channels/{id}/options/{key}

For Slack, channel lists the workspace's channels a post can go to (every public one and the private ones the app was invited to).

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string
key*string

A settings field of kind remote

Response Body

OK

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://staqly.example.com/v1/channels/string/options/string'
Example Response
{  "data": [    {      "value": "string",      "label": "string",      "icon": "string"    }  ]}