API Call Examples
Example commands (*) that you can use to validate proxy behavior against the Slack Discovery APIs. Follow the steps and change the values to match your configuration when needed.
For AWS, change the role to assume with one with sufficient permissions to call the proxy (-r
flag). Example:
If any call appears to fail, repeat it using the -v
flag.
(*) All commands assume that you are at the root path of the Psoxy project.
Read workspaces
Read Users in Grid
Read Conversations in Workspace (any kind, public and private)
Get a workspace ID (accessor path in response
.enterprise.teams[0].id
):
Get conversation details of that workspace (replace
workspace_id
with the corresponding value):
Read Messages in Workspace Channel
Get a channel ID (accessor path in response
.channels[0].id
):
Get DM information (no workspace):
Read messages for workspace channel:1
Omit the workspace ID if channel is a DM
Workspace Channel Info
Omit the workspace ID if channel is a DM
Recent Workspace Conversations
Last updated