Basker Docs

Get File

Retrieve a single File by ID. Rate limit: 100 requests per minute per API key.

This returns the metadata for one file — filename, tags, and a URL pointing to the file. It does not return the file contents themselves; downloading a file is handled by a separate delivery service.

GET
/{version}/{tenant}/files/{id}
Authorization<token>

Use format: users API-Key YOUR_API_KEY

In: header

Path Parameters

version*string

API version

Default"2026-02"
Value in"2026-02"
tenant*string

Tenant slug

id*string

File ID

Query Parameters

select?

Field selection object. Example query: select[slug]=true&select[updatedAt]=true

populate?

Relationship population object. Example query: populate[media][url]=true

Response Body

application/json

application/json

curl -X GET "https://api.basker.app/partners/2026-02/string/files/string?select%5Bslug%5D=true&select%5BupdatedAt%5D=true&populate%5Bmedia%5D=%5Bobject+Object%5D"
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "tenant": "string",
  "src": "string",
  "prefix": "string",
  "folder": "string",
  "url": "string",
  "thumbnailURL": "string",
  "filename": "string",
  "mimeType": "string",
  "filesize": 0,
  "width": 0,
  "height": 0,
  "focalX": 0,
  "focalY": 0
}
Empty
{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded. Please retry later."
}