Menu
Upload Files
Upload Files
POST
/api/v2/uploadsUse it in a workflow
- Add a step and choose the Zendesk connector.
- Pick the Upload Files action (under Attachments).
- Fill in the fields below, then reference the result from later steps as
{{uploadFiles.response.data}}.
Request
Query parameters
Response
Returns 201 with an object. Read it in later steps with {{uploadFiles.response.data.<field>}}.
{
"upload": {
"attachment": {
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic.png",
"file_name": "my_funny_profile_pic.png",
"id": 928374,
"size": 166144,
"thumbnails": [
{
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic_thumb.png",
"file_name": "my_funny_profile_pic_thumb.png",
"id": 928375,
"size": 58298
}
]
},
"attachments": [
{
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic.png",
"file_name": "my_funny_profile_pic.png",
"id": 928374,
"size": 166144,
"thumbnails": [
{
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic_thumb.png",
"file_name": "my_funny_profile_pic_thumb.png",
"id": 928375,
"size": 58298
}
]
}
],
"token": "string"
}
}
Need more? See the Zendesk guide for connection setup and behaviour shared by every action.
Was this page helpful?