Attachments

Show Attachment

Shows attachment details. You can get the value of the attachment_id parameter by listing the ticket's comments. See List Comments. Each comment in the list has an attachments list that specifies an id for each attachment.

Allowed for

  • Agents
get/api/v2/attachments/{attachment_id}

Path parameters

attachment_idinteger required

The ID of the attachment

Response

Success Response

Example response

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

Changes