v1.0.0
OpenAPI 3.1.0

Get a file asset

US region

Client Libraries

Get a file asset

Retrieves a single file asset by its ID. Returns 404 if the asset does not exist or is a folder.

Path Parameters
  • id
    Type: integer
    min:  
    1
    required

    The unique identifier of the resource.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/assets/files/{id}
curl https://api.customer.io/v1/assets/files/1
{
  "asset": {
    "id": 1,
    "name": "string",
    "parent_folder_id": null,
    "path": "string",
    "size": 1,
    "created": 1773856017,
    "updated": 1773856017
  }
}