Kustomer API

Getting access, Developing, Testing

Back to Kustomer

Get attachments by ID

Retrieves attachments using the attachment's unique ID or an array of unique IDs, if given.

Any one of the following roles is required for this endpoint:

|Legacy Role|Equivalent Permission Set Role| |-----|--------| |org.user.attachment.read|org.permission.attachment.read|

Input

type: object properties: parameters: type: object properties: id: type: string description: >- (Required) Attachment ID to retrieve #### NOTE >It's possible to supply a comma-delimited list of ids and instead receive an array of attachments matching those IDs. required: - id title: Parameters

Output

type: object properties: data: type: object properties: id: type: string type: type: string attributes: type: object properties: name: type: string contentType: type: string contentLength: type: string uploaded: type: string redacted: type: string relationships: type: object properties: org: type: object properties: data: type: object properties: id: type: string type: type: string links: type: object properties: self: type: string links: type: object properties: self: type: string related: type: string meta: type: object properties: upload: type: object properties: url: type: string fields: type: object properties: key: type: string acl: type: string Content-Type: type: string X-Amz-Meta-Attachment-Id: type: string bucket: type: string X-Amz-Algorithm: type: string X-Amz-Credential: type: string X-Amz-Date: type: string Policy: type: string X-Amz-Signature: type: string