See Content Block Information

get

/content_blocks/info

This endpoint will call information for your exiting Email Content Blocks.

Request Parameters

Parameter Required Data Type Description
content_block_id Yes 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.

Example Request

1
2
curl --location --request GET 'https://rest.iad-01.braze.com/content_blocks/info?content_block_id=12345678910' \
--header 'Authorization: Bearer YOUR_REST_API_KEY'

Successful Response Properties

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.

WAS THIS PAGE HELPFUL?
New Stuff!