Kustomer API

Getting access, Developing, Testing

Back to Kustomer

Get attachment by Message and Attachment ID (Inbound or Outbound)

Retrieves attachments using the attachment's unique ID for a specific message ID.

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: message_id: type: string description: (Required) ID of message with attachment id: type: string description: (Required) ID of attachment to retrieve required: - message_id - 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 redacted: type: string relationships: type: object properties: org: type: object properties: links: type: object properties: self: type: string data: type: object properties: type: type: string id: type: string message: type: object properties: links: type: object properties: self: type: string data: type: object properties: type: type: string id: type: string links: type: object properties: self: type: string related: type: string