Hanzo AI
OpenapiProvider

List file

Streams the bytes of a file attached to a message in the workspace this organization connected.

GET /v1/provider/slack/file

Addresshttps://api.hanzo.ai/v1/provider/slack/file
MethodGET
Operationget_provider_slack_file
AuthAuthorization: Bearer $HANZO_API_KEY

Streams the bytes of a file attached to a message in the workspace this organization connected. id is the Slack file id a message's files carries; the response is the file itself, under the Content-Type Slack recorded for it, never JSON.

THE WORKSPACE IS THE CALLER'S. The org comes from the validated identity and never from the request, and it selects the token the read spends, so a caller cannot name a workspace they have not connected. A file that workspace cannot see answers 404 from Slack's own answer rather than from a guess made here, and a file past the size bound is refused by name instead of arriving truncated.

Request

GET /v1/provider/slack/file takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo provider slack file

Provider API · All Hanzo APIs · Interactive reference

How is this guide?

On this page