Skip to main content
GET
/
itsm
/
attachments
List ITSM Attachments
curl --request GET \
  --url https://api.leen.dev/v1/itsm/attachments \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "url": "<string>",
      "mime_type": "<string>",
      "status": "ACTIVE",
      "ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "uploaded_by_user_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
        }
      }
    }
  ],
  "next_cursor": "<string>",
  "previous_cursor": "<string>"
}

Authorizations

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

Query Parameters

ticketId
string<uuid> | null
updatedSince
string<date-time> | null
cursor
string | null
limit
integer
default:100
Required range: x >= 0

Response

items
ITSM Attachment · object[]
required
next_cursor
string | null
previous_cursor
string | null