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 | integer | No | Maximum number of members to return |
cache | boolean | No | Use cached data if available |
Response fields
| Field | Type | Description |
|---|---|---|
members | array | List of channel members |
members[].id | string | Slack user ID |
members[].name | string | Display name |
members[].email | string | Email address |
members[].title | string | Job title |
members[].timezone | string | Timezone string |
members[].isAdmin | boolean | Whether the user is a workspace admin |
Code
curl -X POST https://api.richapi.ai/api/v1/slack_channel_members \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"token": "xoxc-...",
"cookie": "xoxd-...",
"workspace": "your-workspace",
"channel_id": "C0123456789"
}'Try it
Sign in to test this endpoint with your API key.
Sign in to try