Assets

Retrieve specific asset

Retrieve a specific asset's information, given their asset ID. When an asset created by /assets/generate fails to generate, it is deleted but stays retrievable for 3 days with deleted set to true, ai_generation_status set to failed and the reason in ai_generation_error. After that it returns 404.

get/assets/{asset_id}

Request

Path parameters

asset_idstring required

ID of asset

Response

OK

Example response

{
  "data": {
    "type": "asset",
    "id": "609d7ce223411",
    "attributes": {
      "id": "609d7ce223411",
      "creator_id": "611e7cf243412",
      "subject": "Spring Newsletter",
      "from_name": "John Doe",
      "from_email": "john.doe@email.com",
      "reply_email": "john.doe@email.com",
      "type": "email",
      "name": "Spring Newsletter",
      "folder_path": "Sample Brand/Folder 1/Folder 2/Sample Campaign",
      "campaign": "Sample Campaign",
      "brand": "Sample Brand",
      "language_code": "es",
      "version": "1.0",
      "parent_asset_id": "609d7ce22341c",
      "approval_status": "approved"
    }
  }
}

Changes

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