Skip to main content

Set Brand

This endpoint allows Enterprise administrators to configure and set brand identity settings for a specific user or workspace, including brand colors, fonts, logo.

Endpoint

POST enterprise/set-brand

Authentication

Include your Enterprise API credentials in the request headers:

sivi-api-key: YOUR_ENTERPRISE_API_KEY
Enterprise Admin Access Required

This endpoint can only be accessed using an Enterprise Admin API key. Regular API keys do not have sufficient privileges.

Request Body Example

{
"abstractUserId": "281743-2322-34i44sd3-dkfjgdkjf292",
"brandName": "Sivi",
"brandDescription": "AI design generator for brands and layered vector based design generation",
"brandUrl": "https://sivi.ai",
"brandLogo": "https://sivi.ai/sivi-logo.png",
"brandColors": ["#5662EC", "#EF9AB2"],
"brandFonts": [],
"brandPersona": {
"emotions": ["happy"],
"industry": "games",
"audience": ["working mom", "working dad"],
"designTags": ["minimal", "time management", "productivity", "health"],
}
}

Request Parameters

ParameterTypeRequiredDescription
abstractUserIdStringYesUnique identifier for the user
brandNameStringYesName of the brand
brandDescriptionStringYesDescription or tagline of the brand
brandUrlStringNoWebsite URL of the brand
brandLogoStringNoURL to the brand's logo image
brandColorsArrayNoList of brand colors in hex format
brandFontsArrayNoList of brand fonts (Coming Soon)
brandPersonaObjectNoBrand persona details
brandPersona.emotionsArrayNoList of brand emotions
brandPersona.industryStringNoBrand industry
brandPersona.audienceArrayNoList of brand target audience
brandPersona.designTagsArrayNoList of brand design tags

Note:: See all available options for each parameter in the Brand Persona Details section.

Response

Success Response (200 OK)

{
"status": 200,
"body": {
"message": "Successfully set the brand details"
}
}

Error Responses

User Not Found (400 Bad Request)

{
"status": 400,
"body": {
"message": "User does not exist"
}
}

Authentication Error (401 Unauthorized)

{
"status": 401,
"body": {
"message": "Failed to authenticate request. Please add sivi-api-key header in request"
}
}

Invalid Input (422 Unprocessable Entity)

{
"status": 422,
"body": {
"message": "Invalid input"
}
}

Server Error (500 Internal Server Error)

{
"status": 500,
"body": {
"message": "Server internal error"
}
}

Usage Notes

  • This API configures brand identity settings that will be applied to designs created in the specified user's workspace
  • Brand colors should be provided as hex values (e.g., "#5662EC")
  • Brand logo should be a direct URL to an image file
  • For best results retrieve brand details automatically using the Extract Brand API from website to setting them manually
  • After setting brand details, all new designs created by the user will incorporate these brand elements automatically
  • This API is restricted to Enterprise plan customers with administrative access
  • For best results, provide at least the brand name, brand description, logo, and primary colors