Autoposting.ai Brands API
Create, list, update, delete, and reorder brands. Each brand maps to a set of social media accounts.
Create, list, update, delete, and reorder brands. Each brand maps to a set of social media accounts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/autoposting-ai:autoposting-ai-brands-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Autoposting Brands API
description: 'Schedule, publish, and AI-enhance social content across X, LinkedIn, Instagram, Threads, and YouTube. All responses use the `{ "success": boolean, "data": ... }` envelope. Authenticate with an API key (`Authorization: Bearer sk-social-...` or `x-api-key: sk-social-...`).'
version: 1.0.0
servers:
- url: https://app.autoposting.ai/api-proxy
description: Production
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Brands
description: Create, list, update, delete, and reorder brands. Each brand maps to a set of social media accounts.
paths:
/brands:
post:
operationId: createBrand
summary: Create Brand
description: Create a new brand. The slug must be unique within the organization and is used in all brand-scoped API calls.
tags:
- Brands
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- slug
properties:
name:
type: string
description: Display name for the brand.
example: Acme Corp
slug:
type: string
description: URL-safe identifier for the brand. Must be unique within the organization. Used in all brand-scoped API calls.
example: acme-corp
description:
type: string
description: Optional description of the brand.
example: Official Acme brand
logoUrl:
type: string
description: URL to the brand's logo image.
responses:
'200':
description: Brand created.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
$ref: '#/components/schemas/Brand'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
get:
operationId: listBrands
summary: List Brands
description: List all brands for the organization.
tags:
- Brands
responses:
'200':
description: Array of brands.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
type: array
items:
$ref: '#/components/schemas/Brand'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
/brands/{brandSlug}:
get:
operationId: getBrand
summary: Get Brand
description: Get a brand by its slug.
tags:
- Brands
parameters:
- name: brandSlug
in: path
required: true
description: The brand's slug identifier.
schema:
type: string
example: acme-corp
responses:
'200':
description: The requested brand.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
$ref: '#/components/schemas/Brand'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
patch:
operationId: updateBrand
summary: Update Brand
description: Update a brand by its slug. All fields are optional; only provided fields are updated.
tags:
- Brands
parameters:
- name: brandSlug
in: path
required: true
description: The brand's slug identifier.
schema:
type: string
example: acme-corp
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: New display name.
example: Acme Corporation
description:
type: string
description: New description.
example: Updated description
logoUrl:
type: string
description: New logo URL.
responses:
'200':
description: The updated brand.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
$ref: '#/components/schemas/Brand'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
delete:
operationId: deleteBrand
summary: Delete Brand
description: Delete a brand by its slug. Permanently removes it along with all associated tokens, posts, and configuration. This action cannot be undone.
tags:
- Brands
parameters:
- name: brandSlug
in: path
required: true
description: The brand's slug identifier.
schema:
type: string
example: acme-corp
responses:
'200':
description: Brand deleted.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
type: object
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
/brands/reorder:
put:
operationId: reorderBrands
summary: Reorder Brands
description: Update the display order of brands.
tags:
- Brands
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- brandIds
properties:
brandIds:
type: array
items:
type: string
description: Array of brand IDs in the desired display order.
example:
- brand_02
- brand_01
- brand_03
responses:
'200':
description: Brands reordered.
content:
application/json:
schema:
type: object
required:
- success
- data
properties:
success:
type: boolean
example: true
data:
type: object
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Unauthorized
message:
type: string
components:
schemas:
Brand:
type: object
description: A brand maps to a set of social media accounts.
properties:
id:
type: string
example: brand_01HXYZ
name:
type: string
example: Acme Corp
slug:
type: string
example: acme-corp
description:
type:
- string
- 'null'
example: Official Acme brand
logoUrl:
type:
- string
- 'null'
description: URL to the brand's logo image.
example: null
order:
type: integer
description: Display order of the brand.
example: 0
connectedPlatforms:
type: array
items:
type: string
description: Social platforms connected to this brand.
example:
- x
- linkedin
createdAt:
type: string
format: date-time
example: '2024-01-01T00:00:00Z'
updatedAt:
type: string
format: date-time
example: '2024-01-01T00:00:00Z'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key as `Authorization: Bearer sk-social-...`'
apiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: 'API key as `x-api-key: sk-social-...`'