Attachments
The Attachment object is used to represent an attachment for a ticket.
Properties

idUUID
Required

remote_idString
Optional
The third-party API ID of the matching object.

created_atDateTime (ISO 8601)
Required
The datetime that this object was created by Merge.

modified_atDateTime (ISO 8601)
Required
The datetime that this object was modified by Merge.

file_nameString
Optional
The attachment's name. It is required to include the file extension in the attachment's name.

ticketUUID
Optional
The ticket associated with the attachment.

file_urlString
Optional
The attachment's url. It is required to include the file extension in the file's URL.

content_typeString
Optional
The attachment's file format.

uploaded_byUUID
Optional
The user who uploaded the attachment.

remote_created_atDateTime (ISO 8601)
Optional
When the third party's attachment was created.

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

field_mappingsObject
Optional

remote_dataRemoteData[]
Optional


GET
/attachments

https://api.merge.dev/api/ticketing/v1/attachments

US
EU
APAC

Returns a list of Attachment objects.


Query & Path Parameters

created_afterDateTime (ISO 8601)
Optional
If provided, will only return objects created after this datetime.

created_beforeDateTime (ISO 8601)
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

include_deleted_dataBoolean
Optional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_dataBoolean
Optional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

modified_afterDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge after this date time will be returned.

modified_beforeDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge before this date time will be returned.

page_sizeInteger
Optional
Number of results to return per page.

remote_created_afterDateTime (ISO 8601)
Optional
If provided, will only return attachments created in the third party platform after this datetime.

remote_idString
Optional
The API provider's ID for the given object.

ticket_idString
Optional
If provided, will only return comments for this ticket.

Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Aha!
Aha!
Asana
Asana
Azure DevOps
Azure DevOps
Bitbucket
Bitbucket
ClickUp
ClickUp
Freshdesk
Freshdesk
Freshservice
Freshservice
Front
Front
Gorgias
Gorgias
Help Scout
Help Scout
Hive
Hive
Ironclad
Ironclad
Jira
Jira
Jira Data Center
Jira Data Center
Jira Service Management
Jira Service Management
Kustomer
Kustomer
Linear
Linear
Pivotal Tracker
Pivotal Tracker
Rally
Rally
ServiceNow
ServiceNow
Shortcut
Shortcut
SpotDraft
SpotDraft
Teamwork
Teamwork
Trello
Trello
Wrike
Wrike
Zendesk
Zendesk
Zoho BugTracker
Zoho BugTracker
Zoho Desk
Zoho Desk
Salesforce Service Cloud
Salesforce Service Cloud
Coming soon
Targetprocess
Targetprocess
Coming soon
Workfront
Workfront
Coming soon
POST
/attachments

https://api.merge.dev/api/ticketing/v1/attachments

US
EU
APAC

Creates an Attachment object with the given values.


Query & Path Parameters

is_debug_modeBoolean
Optional
Whether to include debug fields (such as log file links) in the response.

run_asyncBoolean
Optional
Whether or not third-party updates should be run asynchronously.
Body Parameters

modelObject
Required
Find available fields below under “Model Parameters”.
Model Parameters
View app-specific writable fields under “Field support by platform” in this section.

file_nameString
The attachment's name. It is required to include the file extension in the attachment's name.

ticketUUID
The ticket associated with the attachment. Must pass in a valid Merge ID, which can be obtained from the id field in the Ticket object.

file_urlString
The attachment's url. It is required to include the file extension in the file's URL.

content_typeString
The attachment's file format.

uploaded_byUUID
The user who uploaded the attachment. Must pass in a valid Merge ID, which can be obtained from the id field in the Uploaded_by object.

integration_paramsObject

linked_account_paramsObject

Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Asana
Asana
ClickUp
ClickUp
Hive
Hive
Jira
Jira
Jira Data Center
Jira Data Center
ServiceNow
ServiceNow
Trello
Trello
Wrike
Wrike
Zendesk
Zendesk
Zoho Desk
Zoho Desk
Intercom
Intercom
Coming soon
Ironclad
Ironclad
Coming soon
Jira Service Management
Jira Service Management
Coming soon
Salesforce Service Cloud
Salesforce Service Cloud
Coming soon
Shortcut
Shortcut
Coming soon
Targetprocess
Targetprocess
Coming soon
Workfront
Workfront
Coming soon
To include the correct model fields when making POST requests, use the GET /attachments/meta/post endpoint. Learn more in our /meta guide.
GET
/attachments/{id}

https://api.merge.dev/api/ticketing/v1/attachments/{id}

US
EU
APAC

Returns an Attachment object with the given id.


Query & Path Parameters

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

idUUID
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.
Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Aha!
Aha!
Asana
Asana
Azure DevOps
Azure DevOps
Bitbucket
Bitbucket
ClickUp
ClickUp
Freshdesk
Freshdesk
Freshservice
Freshservice
Front
Front
Gorgias
Gorgias
Help Scout
Help Scout
Hive
Hive
Ironclad
Ironclad
Jira
Jira
Jira Data Center
Jira Data Center
Jira Service Management
Jira Service Management
Kustomer
Kustomer
Linear
Linear
Pivotal Tracker
Pivotal Tracker
Rally
Rally
ServiceNow
ServiceNow
Shortcut
Shortcut
SpotDraft
SpotDraft
Teamwork
Teamwork
Trello
Trello
Wrike
Wrike
Zendesk
Zendesk
Zoho BugTracker
Zoho BugTracker
Zoho Desk
Zoho Desk
Salesforce Service Cloud
Salesforce Service Cloud
Coming soon
Targetprocess
Targetprocess
Coming soon
Workfront
Workfront
Coming soon
GET
/attachments/{id}/download

https://api.merge.dev/api/ticketing/v1/attachments/{id}/download

US
EU
APAC

Returns the File content with the given id as a stream of bytes.


Query & Path Parameters

idUUID
Required

mime_typeString
Optional
If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article.
Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Aha!
Aha!
Asana
Asana
Azure DevOps
Azure DevOps
Bitbucket
Bitbucket
ClickUp
ClickUp
Freshdesk
Freshdesk
Freshservice
Freshservice
Front
Front
Gorgias
Gorgias
Help Scout
Help Scout
Hive
Hive
Ironclad
Ironclad
Jira
Jira
Jira Data Center
Jira Data Center
Jira Service Management
Jira Service Management
Kustomer
Kustomer
Linear
Linear
Pivotal Tracker
Pivotal Tracker
Rally
Rally
ServiceNow
ServiceNow
Shortcut
Shortcut
SpotDraft
SpotDraft
Teamwork
Teamwork
Trello
Trello
Wrike
Wrike
Zendesk
Zendesk
Zoho BugTracker
Zoho BugTracker
Zoho Desk
Zoho Desk
Salesforce Service Cloud
Salesforce Service Cloud
Coming soon
Targetprocess
Targetprocess
Coming soon
Workfront
Workfront
Coming soon
GET
/attachments/meta/post

https://api.merge.dev/api/ticketing/v1/attachments/meta/post

US
EU
APAC

Returns metadata for TicketingAttachment POSTs.


Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Asana
Asana
ClickUp
ClickUp
Hive
Hive
Jira
Jira
Jira Data Center
Jira Data Center
ServiceNow
ServiceNow
Trello
Trello
Wrike
Wrike
Zendesk
Zendesk
Zoho Desk
Zoho Desk
Intercom
Intercom
Coming soon
Ironclad
Ironclad
Coming soon
Jira Service Management
Jira Service Management
Coming soon
Salesforce Service Cloud
Salesforce Service Cloud
Coming soon
Shortcut
Shortcut
Coming soon
Targetprocess
Targetprocess
Coming soon
Workfront
Workfront
Coming soon