Skip to main content
GET
/
itsm
/
attachments
/
{attachment_id}
Get ITSM Attachment by ID
curl --request GET \
  --url https://api.leen.dev/v1/itsm/attachments/{attachment_id} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "url": "<string>",
  "ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "vendor_attributes": {
    "id": "<string>",
    "vendor": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "data": {
      "vendor": "JIRA",
      "size": 123
    }
  },
  "mime_type": "<string>",
  "status": "ACTIVE",
  "uploaded_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Path Parameters

attachment_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required

Leen's UUID for the Attachment

name
string
required

Name of the Attachment

url
string
required

URL of the Attachment

ticket_id
string<uuid>
required

Ticket ID the Attachment belongs to

vendor_attributes
ITSM Attachment Vendor Attributes · object
required

Vendor-specific attributes of the Attachment

mime_type
string | null

MIME type of the Attachment

status
enum<string>

Status of the Attachment

Available options:
ACTIVE,
DELETED,
ARCHIVED
uploaded_by_user_id
string<uuid> | null

User ID who uploaded the Attachment