Blocks
Get a block
Returns a block with its content.
get/blocks/{id}
Request
- Base URLhttps://api5.optimove.net/content/v1
- URLhttps://api5.optimove.net/content/v1/blocks/{id}
- AuthAPI key in header X-API-KEY
Response
The block.
Example response
{
"tagName": "summer-sale-banner",
"name": "Summer sale banner",
"html": "<div>Hi {{customer.FirstName}}, our summer sale has started.</div>",
"plaintext": "Hi {{customer.FirstName}}, our summer sale has started.",
"editorType": "html",
"code": {
"header": "{% assign greeting = \"Hello\" %}"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.