Menu
Get Account Attachments
Retrieves attachments for a specific accounts by using a unique account Id
GET
/Accounts/{AccountID}/AttachmentsUse it in a workflow
- Add a step and choose the Xero connector.
- Pick the Get Account Attachments action (under Xero).
- Fill in the fields below, then reference the result from later steps as
{{getAccountAttachments.response.data}}.
Request
Path parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{getAccountAttachments.response.data.<field>}}.
{
"Attachments": [
{
"AttachmentID": "00000000-0000-0000-0000-000000000000",
"FileName": "xero-dev.jpg",
"Url": "https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg",
"MimeType": "image/jpg",
"ContentLength": 0,
"IncludeOnline": false
}
]
}
Need more? See the Xero guide for connection setup and behaviour shared by every action.
Was this page helpful?