Update the brand kit
PUT/v1/brand
Changes only the fields you send. Use null to clear one.
Required scope: templates:manage
Request body
| Field | Type |
|---|---|
logo_urloptional | any |
logo_widthoptional | any |
accentoptional | any |
backgroundoptional | any |
fontoptional | any |
footer_textoptional | any |
Unknown fields are rejected, so a typo never silently does nothing.
Example
curl -X PUT 'https://api.sendsend.email/v1/brand' \
-H "Authorization: Bearer $SENDSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"accent": "#ff5500",
"logo_url": "https://acme.com/logo.png"
}'Response 200
{
"object": "brand_kit",
"logo_url": "https://acme.com/logo.png",
"logo_width": null,
"accent": "#ff5500",
"background": null,
"font": null,
"footer_text": null
}Errors
| Status | Code | When |
|---|---|---|
| 400 | validation_error | The request body or parameters are invalid. The message says which field. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.