Référence APIMettre à jour la marque blanche
PATCH/v1/branding

Mettre à jour la marque blanche

Modifie les paramètres de marque blanche (nom, couleurs, thème, webhooks, mode white-label).

1 min de lectureTélécharger en PDF

Requête exemple

{
"company_name": "Ma Nouvelle Société",
"primary_color": "#1a73e8",
"white_label_mode": true,
"slack_webhook_url": "https://hooks.slack.com/services/..."
}

Réponse exemple

{
"branding": {
"theme": "light",
"company_name": "Ma Nouvelle Société",
"primary_color": "#1a73e8",
"hide_powered_by": true,
"white_label_mode": true,
"slack_webhook_url": "https://hooks.slack.com/services/..."
}
}

Met à jour les champs fournis de la marque blanche. Au moins un champ requis.

Authentification

Requiert une clé API avec le scope branding:manage.

Corps de la requête

ChampTypeRequisDescription
company_namestringNonNom de l'entreprise.
primary_colorstringNonCouleur primaire (hex).
accentstringNonCouleur d'accent (hex).
themestringNonlight ou dark.
hide_powered_bybooleanNonMasquer le badge Coffrify.
white_label_modebooleanNonActive le white-label complet.
subdomain_slugstringNonSous-domaine personnalisé (Pro/Ultra).
slack_webhook_urlstringNonWebhook Slack.
discord_webhook_urlstringNonWebhook Discord.
teams_webhook_urlstringNonWebhook Teams.

Codes de statut

  • 200 Mise à jour.
  • 400 Aucun champ valide.
  • 403 Scope insuffisant.