Create a new brand
Creates a brand from a name and settings, including primary and secondary colors. Brands supply the logo, colors, and styling that templates render with.
Headers
A unique key that makes this request idempotent. If Courier receives another request with the same Idempotency-Key, it returns the stored response from the first request without performing the operation again (including the original status code and any error). Use it to safely retry POST requests after network failures without risking duplicate sends. The key is scoped to this endpoint.
How long the idempotency key remains valid, as a Unix epoch timestamp in seconds or an ISO 8601 date string. Only applies when Idempotency-Key is provided. If omitted, the key is retained for 25 hours; the maximum is 1 year.
Request body
Response
Changes
Changed in 3 of the 55 revisions of this API.27335
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
added the new optional
headerrequest parameterx-idempotency-expirationnew-optional-request-parameter
- ○
- ▲
the request property
settingsbecame not nullablerequest-property-became-not-nullable
- ▲
the request property
settingsbecame requiredrequest-property-became-required
- ▲
- ▲
added the new required request property
settings/email/header/logonew-required-request-property
- ▲
added the new required request property
settings/inapp/colorsnew-required-request-property
- ▲
added the new required request property
settings/inapp/iconsnew-required-request-property
- ▲
added the new required request property
settings/inapp/widgetBackgroundnew-required-request-property
- ▲
the request property
settings/colors/primarybecame not nullablerequest-property-became-not-nullable
- ▲
the request property
settings/colors/secondarybecame not nullablerequest-property-became-not-nullable
- ▲
the
settings/email/footerrequest property type/format changed from/toobject/request-property-type-changed
- ▲
the
settings/email/headerrequest property type/format changed from/toobject/request-property-type-changed
- ▲
the
settings/inapprequest property type/format changed from/toobject/request-property-type-changed
- ▲
the response property
publishedbecame nullable for the status200response-property-became-nullable
- ▲
the response property
settingsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
settings/email/footerbecame nullable for the status200response-property-became-nullable
- ▲
the response property
settings/email/headerbecame nullable for the status200response-property-became-nullable
- ▲
the response property
snippets/itemsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
versionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
publishedbecame optional for the status200response-property-became-optional
- ▲
the response property
settingsbecame optional for the status200response-property-became-optional
- ▲
the response property
settings/email/footerbecame optional for the status200response-property-became-optional
- ▲
the response property
settings/email/headerbecame optional for the status200response-property-became-optional
- ▲
the response property
snippets/itemsbecame optional for the status200response-property-became-optional
- ▲
the response property
versionbecame optional for the status200response-property-became-optional
- ▲
the
settings/email/footerresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ▲
the
settings/email/headerresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ▲
the
settings/inappresponse's property type/format changed from/toobject/for status200response-property-type-changed
- ▲
removed the required property
snippets/items/items/formatfrom the response with the200statusresponse-required-property-removed
- ●
removed the request property
settings/colors/tertiaryrequest-property-removed
- ●
removed the request property
snippets/items/items/formatrequest-property-removed
- ●
removed the optional property
settings/colors/tertiaryfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
settings/email/footer/contentnew-optional-request-property
- ○
added the new optional request property
settings/email/footer/inheritDefaultnew-optional-request-property
- ○
added the new optional request property
settings/email/headnew-optional-request-property
- ○
added the new optional request property
settings/email/header/barColornew-optional-request-property
- ○
added the new optional request property
settings/email/header/inheritDefaultnew-optional-request-property
- ○
added the new optional request property
settings/email/templateOverridenew-optional-request-property
- ○
added the new optional request property
settings/inapp/borderRadiusnew-optional-request-property
- ○
added the new optional request property
settings/inapp/disableMessageIconnew-optional-request-property
- ○
added the new optional request property
settings/inapp/fontFamilynew-optional-request-property
- ○
added the new optional request property
settings/inapp/placementnew-optional-request-property
- ○
the request property
settingsbecame nullablerequest-property-became-nullable
- ○
the request property
settings/email/footerbecame nullablerequest-property-became-nullable
- ○
the request property
settings/email/headerbecame nullablerequest-property-became-nullable
- ○
the request property
snippets/itemsbecame nullablerequest-property-became-nullable
- ○
the request property
settingsbecame optionalrequest-property-became-optional
- ○
the request property
settings/email/footerbecame optionalrequest-property-became-optional
- ○
the request property
settings/email/headerbecame optionalrequest-property-became-optional
- ○
the request property
snippets/itemsbecame optionalrequest-property-became-optional
- ○
added the optional property
settings/email/footer/contentto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/email/footer/inheritDefaultto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/email/headto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/email/header/barColorto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/email/header/inheritDefaultto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/email/templateOverrideto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/inapp/borderRadiusto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/inapp/disableMessageIconto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/inapp/fontFamilyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
settings/inapp/placementto the response with the200statusresponse-optional-property-added
- ○
the response property
idbecame required for the status200response-property-became-required
- ○
added the required property
settings/email/header/logoto the response with the200statusresponse-required-property-added
- ○
added the required property
settings/inapp/colorsto the response with the200statusresponse-required-property-added
- ○
added the required property
settings/inapp/iconsto the response with the200statusresponse-required-property-added
- ○
added the required property
settings/inapp/widgetBackgroundto the response with the200statusresponse-required-property-added
This revision also has 93 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲