/attachments/{id}

Returns an Attachment object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

expandenumOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
Allowed values:
include_remote_databooleanOptional

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

include_shell_databooleanOptional

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

Response

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
file_namestring or null
The attachment's name. It is required to include the file extension in the attachment's name.
ticketstring or nullformat: "uuid"
The ticket associated with the attachment.
file_urlstring or null
The attachment's url. It is required to include the file extension in the file's URL.
content_typestring or null
The attachment's file format.
uploaded_bystring or nullformat: "uuid"
The user who uploaded the attachment.
remote_created_atdatetime or null
When the third party's attachment was created.
remote_was_deletedboolean or nullRead-only
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](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+2Z/2/iNhTA/xXmHxGQtVx3KtI0UdIvdCXttWnvulMVPZxHYnDi1Hag5XT/++QQCr1Vu91q1o7yG1jOJ/Enz372yxdCQWMk5D1pEc3oCDVLI1IjiQiRkxZpaw00TjDVpEYgYx4kuNw1GG+TGlF5lgmpMTxgyEN1JHFAWsRJUEZYz1M2YBg6D9c4LNUYSdBMpMp5uLY+KC4mNcJZOsKwTanIU/1d2qx3HWbdv/mrHM6UefYMlNKxFHkUn+Ntjur7YPNkHM3YgddD0OAsQepyRnmqzYwhRI4aQxc0uKiRmsGWN4y1zlTLcWLkWaO4eSP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