Skip to content

List client card files

Request

Lists uploaded files for one Location client. Requires clients_access and client_files_list_access. The link is a download route, while full_link is its absolute URL. A saved form URL in a comment is not a file and does not appear here until the completed document is uploaded.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

client_idnumberrequired

Client ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/clients/files/{client_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 123, "client_id": 123456, "name": "test.txt", "description": "", "date_create": "2026-01-01T12:00:00-0500", "extension": "txt", "mime": "text/plain", "link": "/client_files/download/456/123/", "user_name": "Victor Sitnikov", "user_avatar": "/images/no-master.png", "size": "9 B", "can_edit": false }, { "id": 789, "client_id": 123456, "name": "photo.jpg", "description": "", "date_create": "2026-01-30T12:30:00-0500", "extension": "jpg", "mime": "image/jpeg", "link": "/client_files/download/456/789/", "user_name": "Victor Sitnikov", "user_avatar": "/images/no-master.png", "size": "96.65 KB", "can_edit": true } ]
metaobject

Metadata (contains the number of files)

Example:
{ "count": 2 }
Response
{ "success": true, "data": [ { … }, { … } ], "meta": { "count": 2 } }