Accounting
Retrieves a specific attachment from a specific contact using a unique attachment Id
get/Contacts/{ContactID}/Attachments/{AttachmentID}
Request
- Base URLhttps://api.xero.com/api.xro/2.0
- URLhttps://api.xero.com/api.xro/2.0/Contacts/{ContactID}/Attachments/{AttachmentID}
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: accounting.attachments, accounting.attachments.read
Path parameters
ContactIDstring uuid required
Unique identifier for a Contact
AttachmentIDstring uuid required
Unique identifier for Attachment object
Headers
contentTypestring required
The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
Response
Success - return response of attachment for Contact as binary data
Changes
No recorded changes to this operation across all 62 revisions of this API.