API referenceMarketing settings
Update marketing settings
PATCH
/settings/marketingThe physical postal address is required before any campaign or sequence sends; default_from must use a domain of the project.
Authorization
apiKey AuthorizationBearer <token>
A project API key: Authorization: Bearer s0_…
In: header
Request 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/settings/marketing" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "marketing_settings", "physical_address": "string", "company_name": "string", "default_from": "string", "default_reply_to": [ "string" ], "unsubscribe_page": { "logo_url": "http://example.com", "accent_color": "string", "heading": "string", "message": "string" }, "preference_center_enabled": true, "ready_to_send": true, "updated_at": "2019-08-24T14:15:22Z"}