Market Radar API
API referenceNewsletters

Add a block

After the block named, or just above the footer; with the fields given, the rest as the editor's palette drops them. A radar block's kind follows its radars. Applies from the next issue assembled.

POST
/newsletters/{id}/template/blocks

Authorization

key
AuthorizationBearer <token>

A key created in the app under Settings, API and MCP. Read keys read; Read and write keys also add, edit and delete companies, custom sources, groups and radars, and create, rename and delete folders.

In: header

Path Parameters

id*integer
Range0 < value <= 9007199254740991

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The type, and any of that type's fields (see Block); the rest start as the editor's palette drops them. A text block also takes text: plain text, a blank line between paragraphs. A radar block's kind follows its radar_ids.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/newsletters/1/template/blocks" \  -H "Content-Type: application/json" \  -d '{    "type": "radar",    "property1": null,    "property2": null  }'
{  "block": {    "id": "string",    "type": "header",    "title": "string",    "layout": "left",    "show": {      "logo": true,      "title": true,      "issue": true,      "date": true    }  },  "template_version": "string"}