Everything you need to integrate the RichAPI API into your product.
Extract Slack channel members with names, emails, titles, timezones, admin status. Requires your Slack cookie.
/api/v1/slack_channel_membersParameters
| Field | Type | Required | Description |
|---|---|---|---|
workspace | string | Yes | Slack workspace subdomain (e.g. acme for acme.slack.com) |
channel_id | string | Yes | Slack channel ID (e.g. C0123456789) |
cookie | string | Yes | Your Slack xoxd- session cookie |
token | string | Yes | Your Slack xoxc- client token |
max_members | int | No | Maximum number of members to return |
cache | bool | No | Use cached data if available |
Example response
{
"members": [
{
"email": "example",
"id": "example",
"isAdmin": true,
"name": "example",
"timezone": "example",
"title": "example"
}
]
}Code
curl -X POST https://dev-api.richapi.ai/api/v1/slack_channel_members \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace": "your-workspace",
"channel_id": "C0123456789",
"cookie": "xoxd-...",
"token": "xoxc-...",
"max_members": 1,
"cache": true
}'Try it
Sign in to test this endpoint with your API key.
Sign in to try