Assets

Get a file asset

Changed on

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

get/v1/assets/files/{id}

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/assets/files/{id}
  • Auth
    none declared

Path parameters

idinteger required

The unique identifier of the resource.

Response

The requested file asset.

Example response

{
  "asset": {
    "created": 1773856017,
    "updated": 1773856017
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the // response's property type changed from integer to string for status