API referenceNewsletters
Change the theme
The colours and fonts given, or the logo removed. A logo is uploaded in the app.
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
Range
0 < value <= 9007199254740991Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/newsletters/1/template/theme" \ -H "Content-Type: application/json" \ -d '{}'{ "theme": { "logo": { "url": "string", "width": -9007199254740991, "height": -9007199254740991, "name": "string" }, "colors": { "brand": "string", "text": "string", "background": "string" }, "fonts": { "headings": "geist", "text": "geist" } }, "template_version": "string"}