Slack file upload profile
org.intentschema.communication.chat.file.upload.v1@com.slack.v1
JSON: bare · @sha256:b1c58a5fce31…
Hash: sha256:b1c58a5fce31607ed9a8b86564760fdc77d9cf532aee0664f59593a507082a6e
Slack profile for files.getUploadURLExternal + files.completeUploadExternal (two-step upload).
Implements: Upload chat file (org.intentschema.communication.chat.file.upload.v1)
Payload
| Field | Type | Description |
target * | Target | (system = "slack", required: system) |
object * | object | |
idempotency_key | string | |
slack @com.slack | object | |
object
| Field | Type | Description |
channel_id * | string | |
thread_id | string | |
file * | BlobRef | |
comment | string | |
slack @com.slack
| Field | Type | Description |
channels | string[] | |
initial_comment | string | |
snippet_type | string | |
Result
| Field | Type | Description |
external_id * | string | Provider-assigned id. |
created_at * | string (date-time) | |
url | string (uri) | |
API mapping
Field mapping
| Intent field | API parameter |
object.channel_id | channel_id (in completeUploadExternal) |
object.file | file content (uploaded to URL from getUploadURLExternal) |
object.file.filename | filename (in getUploadURLExternal) |
object.file.size | length (in getUploadURLExternal) |
object.comment | initial_comment (in completeUploadExternal) |
object.thread_id | thread_ts (in completeUploadExternal) |
slack.channels | channel_id (in completeUploadExternal) |
slack.initial_comment | initial_comment |
slack.snippet_type | snippet_type |