younifyd
Menu

Show Attachment

Show Attachment

GET/api/v2/attachments/{attachment_id}

Use it in a workflow

  1. Add a step and choose the Zendesk connector.
  2. Pick the Show Attachment action (under Attachments).
  3. Fill in the fields below, then reference the result from later steps as {{showAttachment.response.data}}.

Request

Path parameters

attachment_idinteger (int64)required

The ID of the attachment

Response

Returns 200 with an object. Read it in later steps with {{showAttachment.response.data.<field>}}.

attachmentobject

A file represented as an [Attachment](/api-reference/ticketing/tickets/ticket-attachments/) object

json
{
  "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
      }
    ]
  }
}

Need more? See the Zendesk guide for connection setup and behaviour shared by every action.