Assets

Retrieve specific asset content

Retrieve a specific asset's html content. Returns a similar response to the /assets/ GET endpoint, but includes field 'html' in the response.

get/assets/{asset_id}/content

Request

Path parameters

asset_idstring required

ID of asset

Query parameters

platformstring

name of platform

Response

OK

Example response

{
  "data": {
    "type": "asset",
    "id": "609d7ce223411",
    "attributes": {
      "id": "609d7ce223411",
      "subject": "Spring Newsletter",
      "from_name": "John Doe",
      "from_email": "john.doe@email.com",
      "reply_email": "john.doe@email.com",
      "type": "email",
      "name": "Spring Newsletter",
      "text": "Sample email content",
      "folder_path": "Sample Brand/Folder 1/Folder 2/Sample Campaign",
      "campaign": "Sample Campaign",
      "brand": "Sample Brand",
      "language_code": "es",
      "html": "<div>Sample email content</div>",
      "version": "1.0",
      "parent_asset_id": "609d7ce22341c"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.