List attachments
GET/attachments
note
This feature is only available in Preview to select customers on our Enterprise plan. Contact us for more information.
Returns a list of Attachment objects.
Request
Query Parameters
modified_after date-time
If provided, will only return objects modified after this datetime. Datetime must be in ISO 8601 format and URI encoded.
Example: 2023-02-23T00:00:00Z
page_size string
Number of results to return per page. (Max: 1000)
Example: 123
cursor string
The pagination cursor value
Example: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
Header Parameters
x-customer-id stringrequired
The customer ID that uniquely identifies the customer in your application
Example: my-customer-1
x-provider-name stringrequired
The provider name
Example: salesforce
Responses
- 200
AttachmentsData
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
pagination objectrequired
next stringnullablerequired
previous stringnullablerequired
total_count number
records object[]required
file_name stringrequired
ticket stringrequired
file_url stringrequired
content_type stringrequired
uploaded_by stringrequired
{
"pagination": {
"next": "eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ==",
"previous": "eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9",
"total_count": 100
},
"records": [
{
"file_name": "Screenshot.png",
"ticket": "0958cbc6-6040-430a-848e-aafacbadf4ae",
"file_url": "http://alturl.com/p749b",
"content_type": "jpeg",
"uploaded_by": "28b54125-287f-494d-965e-3c5b330c9a68"
}
]
}
Loading...