Account
Update a brand
Changed onChanges the brand profile: description, website, tone of voice, writing guidelines, SEO keywords, hashtags and colors. Values are checked and normalised the same way as on the Brand page. Returns the updated profile.
patch/brands/{brandId}
Request
- Base URLhttps://www.app.ocoya.com/api/_public/v1
- AuthAPI key in header X-API-Key
Path parameters
brandIdstring required
Example:cmayvq3hk00017apshay5qezu
Ocoya brand ID. Get one from GET /brands.
Request body
Example request
{
"description": "Ocoya helps small teams plan, create and schedule social posts with AI.",
"url": "ocoya.com",
"tone": [
"Friendly",
"Expert"
],
"guidelines": "Never use exclamation marks.",
"keywords": [
"social media scheduler",
"ai captions"
],
"hashtags": [
"#socialmedia",
"smallbusiness"
],
"colors": [
"#1a1a1a",
"#ff6b35"
]
}Response
Success. The updated profile.
Example response
{
"id": "cmayvq3hk00017apshay5qezu",
"name": "Ocoya",
"timezone": "Europe/London",
"weekStart": 1,
"description": "Ocoya helps small teams plan, create and schedule social posts with AI.",
"url": "https://www.ocoya.com",
"logos": [
"https://cdn.ocoya.com/prod/brand/logo.png"
],
"colors": [
"#1a1a1a",
"#ff6b35"
],
"fonts": {
"heading": {
"fontFamily": "Actor"
}
},
"socials": {
"instagram": "https://instagram.com/ocoya"
},
"tone": [
"Friendly",
"Expert"
],
"guidelines": "Never use exclamation marks.",
"keywords": [
{
"keyword": "social media scheduler",
"monthlySearches": 1900
}
],
"hashtags": [
"socialmedia",
"smallbusiness"
],
"channelCount": 3,
"score": {
"score": 75,
"nextStep": {
"section": "keywords",
"sectionLabel": "SEO keywords",
"label": "Find more SEO keywords",
"points": 5
}
}
}Changes
- info
endpoint added
- info