Skip to main content
Use this endpoint to retrieve binary image files stored on the CA Colombia platform. Images are identified by a type that describes the category of asset and a hash that is the unique identifier for a specific file. The server streams the image directly in the response body with appropriate Content-Type headers set. Responses are aggressively cached — the server sets a one-year Cache-Control header (public, max-age=31536000, immutable) on every successful response. This means you can safely cache image URLs in your own application and expect them never to change for a given hash.
This endpoint does not require authentication. Images are publicly accessible by anyone who knows the correct type and hash.

Endpoint

Path Parameters

string
required
The category of image to retrieve. Must be one of the following values:
  • avatar-bust — Character upper-body avatar image.
  • ids — In-game ID card images (e.g., national ID, driving licence).
  • avatars3d — 3D character avatar model files (returned as model/gltf-binary with a .glb extension).
  • avatar — Full-body character avatar image.
  • icons — Bank or organisation icon images.
string
required
The file’s unique hash identifier, including its file extension (e.g., a3f2c1d4e5b6789012345678abcdef01.png). Hash values are returned by other API endpoints — for example, iconHash on a bank object or the avatar hash on a user profile.

Response

A successful response streams the binary file directly in the response body.

Code Examples

Example Request

The response body is the raw PNG binary data. There is no JSON wrapper.

Errors

Because responses include a long-lived Cache-Control: immutable header, you can use image URLs directly as src attributes in <img> tags or as background images in CSS. The browser and any CDN in front of the API will cache them efficiently without additional work on your part.