Browse Documentation
GET Get attachments

List Attachments

List all attachments in the inbox of organisation

GET /inbox

Request

     
curl -s -H "Content-Type: application/json" -H "Authorization: Bearer token" \
-XGET \
https://dev.accounteer.com/api/v0.1/inbox/
     

Response

Returns an array of attachments. If there are no attachments in the inbox of the organisation an empty array is returned.

     
[{
    "id": "94593f08442068ea4c9637432bdeb766e23bd2d2",
    "file_url": "https://f.accounteer.com/94593f08442068ea4c9637432bdeb766e23bd2d2/daa71f0644647c0d82dd2d03d0b29779644b1a48/file01.jpg",
    "file_name": "file01.jpg",
    "file_size": 1404133,
    "file_type": "image/jpeg",
    "created_date": "2017-07-17"
}, {
     "id": "cffbb273108229ea137b109f83650b8255ff31fc",
     "file_url": "https://f.accounteer.com/cffbb273108229ea137b109f83650b8255ff31fc/daa71f0644647c0d82dd2d03d0b29779644b1a48/file02.jpg",
     "file_name": "file01.jpg",
     "file_size": 1462121,
     "file_type": "image/jpeg",
     "created_date": "2017-07-17"
}]