Set logo visibility
Overview
Controls whether the white-label partner logo is shown in the email header for a template type (defaults to visible).
Prerequisites
- A bearer token. Callable with Partner and Account tokens.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
POST /api/v1/account/white-label/email-templates/logo-visibility
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Partner and Account tokens.
-
Authentication plus an email-template feature check.
-
company_idis scoped by an ownership check. -
Platform-owned types are forbidden (403) for non-platform companies in the shared
updateOverride. -
Only the reachable companies differ per role.
Rate limit
- No rate limit.
Request body
- Body:
| Field | Type | Required | Description |
|---|---|---|---|
company_id | integer | Yes | Must be an existing account inside your own account tree. |
type | string | Yes | Valid EmailTemplateType value. |
show_logo | boolean | Yes | true to show the white-label logo, false to hide it. |
{
"company_id": 1,
"type": "user_welcome",
"show_logo": true
}Response
data.status(string) —success.data.message(string) —Template updated.
200 OK · 200
200{
"data": {
"status": "success",
"message": "Template updated."
}
}422 Validation Error · 422
422{
"message": "The show logo field is required.",
"errors": {
"show_logo": [
"The show logo field is required."
]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
403 | The template type is platform-managed, or the email-template section is disabled for your account |
422 | Validation Error |
500 | Unexpected server error |
Example request
curl --request POST \
--url "https://production-api.shoutaboutus.com/api/v1/account/white-label/email-templates/logo-visibility" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{"company_id": 1, "type": "user_welcome", "show_logo": true}'Updated 10 days ago
Did this page help you?
