Skip to main content
PATCH
/
brands
/
{brandSlug}
Update Brand
curl --request PATCH \
  --url https://app.autoposting.ai/api-proxy/brands/{brandSlug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Acme Corporation",
  "description": "Updated description",
  "logoUrl": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "brand_01HXYZ",
    "name": "Acme Corp",
    "slug": "acme-corp",
    "description": "Official Acme brand",
    "logoUrl": null,
    "order": 0,
    "connectedPlatforms": [
      "x",
      "linkedin"
    ],
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

brandSlug
string
required

The brand's slug identifier.

Example:

"acme-corp"

Body

application/json
name
string

New display name.

Example:

"Acme Corporation"

description
string

New description.

Example:

"Updated description"

logoUrl
string

New logo URL.

Response

The updated brand.

success
boolean
required
Example:

true

data
object
required

A brand maps to a set of social media accounts.