See Content Block Information

GET https://{{instance_url}}/content_blocks/info?content_block_id={{content_block_id}}&include_inclusion_data=No

This endpoint will call information for an existing Content Block.

Successful Response Properties

Content-Type: application/json
Authorization: Bearer YOUR_REST_API_KEY
{
  "content_block_id": "string",
  "name": "string",
  "content": "string",
  "description": "string",
  "content_type": "html or text",
  "tags":  "array of strings",
  "created_at": "time-in-iso",
  "last_edited": "time-in-iso",
  "inclusion_count" : "integer",
  "message": "success"
}

Possible Errors

  • Content Block ID cannot be blank. - A Content Block has not been listed or is not encapsulated in quotes.

  • Content Block ID is invalid for this App Group. - This Content Block does not exist or is in a different company account or app group.

  • Content Block has been deleted - content not available. - This Content Block, though it may have existed earlier, has been deleted.

  • Include Inclusion Data - error - One of true or false is not provided.

Request Params

KeyDatatypeRequiredDescription
content_block_idstring(Required) String

The Content Block ID. This can be found by either listing Content Block information or going to the Developer Console, then API Settings, then scrolling to the bottom and searching for your Content Block API Identifier. | | include_inclusion_data | string | | (Optional) Boolean

When set to ‘true’, the API returns back the Message Variation API ID of Campaigns and Canvases where this content block is included, to be used in subsequent calls. The results exclude archived or deleted Campaigns or Canvases. |

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring