NativeAds AI Brands API

The Brands API from NativeAds AI — 3 operation(s) for brands.

GitHub OpenAPI

Operations 5

POST /brands Create a new brand #
GET /brands Retrieve a list of brands #
GET /brands/{brandId} Retrieve a specific brand #
PUT /brands/{brandId} Update a specific brand #
GET /brands/{brandId}/dna Get Brand DNA status and data #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nativeads-ai:nativeads-ai-brands-api"
All apis
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.

Get an API 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 Specification

nativeads-ai-brands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NativeAds Headless Brands API
  version: 1.0.0
  description: 'The headless REST API for programmatic creative generation. Authenticate with a per-user API key (`Authorization: Bearer nak_...`). This reference lists only the endpoints an API key may call; generation endpoints are asynchronous (submit returns an id, then poll).'
  license:
    name: Commercial
    url: https://www.nativeads.ai/
servers:
- url: https://creative-v1.nativeads.ai/v1
  description: NativeAds API Server
security:
- BearerAuth: []
tags:
- name: Brands
paths:
  /brands:
    post:
      summary: Create a new brand
      operationId: createBrand
      tags:
      - Brands
      requestBody:
        description: Details of the brand to be created
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBrandRequest'
      responses:
        '201':
          description: Brand successfully created
          headers:
            Location:
              schema:
                type: string
              description: URL of the created resource
            ETag:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Brand'
        '400':
          description: Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - No permissions for advertiser ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                noPermissions:
                  value:
                    requestId: 123e4567-e89b-12d3-a456-426614174000
                    error:
                      code: FORBIDDEN
                      message: No permissions for Walmart advertiser ID
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Service Unavailable - Cannot validate advertiser ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                walmartUnavailable:
                  value:
                    requestId: 123e4567-e89b-12d3-a456-426614174002
                    error:
                      code: SERVICE_UNAVAILABLE
                      message: Unable to validate Walmart advertiser ID at this time. Walmart API is unreachable. Please try again later.
    get:
      summary: Retrieve a list of brands
      operationId: listBrands
      tags:
      - Brands
      parameters:
      - name: all_organizations
        in: query
        description: Set to 'true' to retrieve brands from all organizations. This is an admin-only parameter. Requests from non-admin users with this parameter will result in a 403 Forbidden error.
        required: false
        schema:
          type: boolean
          default: false
      - name: page
        in: query
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - name
          - -name
          - createdAt
          - -createdAt
          default: -createdAt
      - name: industry
        in: query
        schema:
          type: string
      responses:
        '200':
          description: List of brands retrieved successfully
          headers:
            Cache-Control:
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Brand'
                  pagination:
                    type: object
                    required:
                    - total
                    - pages
                    - currentPage
                    - limit
                    properties:
                      total:
                        type: integer
                      pages:
                        type: integer
                      currentPage:
                        type: integer
                      limit:
                        type: integer
                  links:
                    type: object
                    properties:
                      self:
                        type: string
                        format: uri
                      next:
                        type: string
                        format: uri
                      prev:
                        type: string
                        format: uri
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /brands/{brandId}:
    parameters:
    - name: brandId
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Unique identifier of the brand
    get:
      summary: Retrieve a specific brand
      operationId: getBrandById
      tags:
      - Brands
      responses:
        '200':
          description: Brand details retrieved successfully
          headers:
            ETag:
              schema:
                type: string
            Cache-Control:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Brand'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Brand not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    put:
      summary: Update a specific brand
      operationId: updateBrand
      tags:
      - Brands
      parameters:
      - name: If-Match
        in: header
        required: true
        schema:
          type: string
        description: ETag from previous get/update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBrandRequest'
      responses:
        '200':
          description: Brand successfully updated
          headers:
            ETag:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Brand'
        '400':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Brand not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict - Cannot change advertiser ID (brand has submitted creatives)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                hasSubmittedCreatives:
                  value:
                    requestId: 123e4567-e89b-12d3-a456-426614174003
                    error:
                      code: CONFLICT
                      message: Cannot change advertiser ID because this brand has 3 creative(s) that have been submitted to Walmart. Creatives must be deleted before changing the advertiser ID.
                      details:
                        blockingCreativeCount: 3
                        blockingStatuses:
                        - walmart_draft
                        - approved
        '412':
          description: Precondition failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /brands/{brandId}/dna:
    parameters:
    - name: brandId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      summary: Get Brand DNA status and data
      description: 'Returns the current Brand DNA extraction status and the merged Brand DNA

        data for a brand. If no PDFs have been uploaded, status will be ''none''.'
      operationId: getBrandDna
      tags:
      - Brands
      responses:
        '200':
          description: Brand DNA status and data
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    $ref: '#/components/schemas/BrandDnaResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Brand not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateBrandRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
          example: Acme Corporation
        industry:
          type: string
          minLength: 1
          maxLength: 50
          example: Technology
        description:
          type: string
          maxLength: 280
          example: Leading provider of innovative cloud solutions
        mission:
          type: string
          maxLength: 1000
          example: To accelerate the world's transition to sustainable technology
        values:
          type: array
          items:
            type: string
            maxLength: 50
          maxItems: 10
          example:
          - Innovation
          - Sustainability
          - Customer Focus
        tone:
          type: array
          items:
            type: string
            enum:
            - Professional
            - Casual
            - Friendly
            - Authoritative
            - Playful
            - Innovative
            - Traditional
            - Luxurious
          maxItems: 5
          example:
          - Professional
          - Innovative
        voice:
          type: array
          items:
            type: string
            maxLength: 50
          maxItems: 5
          example:
          - Clear
          - Confident
          - Expert
        logoAssetId:
          type:
          - string
          - 'null'
          format: uuid
          description: ID of an existing asset to be used as the brand's logo, should be a logo asset.
          example: 123e4567-e89b-12d3-a456-426614174000
      required:
      - name
      - industry
      - description
      - mission
      - values
      - tone
      - voice
    Brand:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426614174000
        name:
          type: string
          minLength: 1
          maxLength: 100
          example: Acme Corporation
        industry:
          type: string
          minLength: 1
          maxLength: 50
          example: Technology
        description:
          type: string
          maxLength: 280
          example: Leading provider of innovative cloud solutions
        mission:
          type: string
          maxLength: 1000
          example: To accelerate the world's transition to sustainable technology
        values:
          type: array
          items:
            type: string
            maxLength: 50
          maxItems: 10
          example:
          - Innovation
          - Sustainability
          - Customer Focus
        tone:
          type: array
          items:
            type: string
            enum:
            - Professional
            - Casual
            - Friendly
            - Authoritative
            - Playful
            - Innovative
            - Traditional
            - Luxurious
          maxItems: 5
          example:
          - Professional
          - Innovative
        voice:
          type: array
          items:
            type: string
            maxLength: 50
          maxItems: 5
          example:
          - Clear
          - Confident
          - Expert
        logoAsset:
          allOf:
          - $ref: '#/components/schemas/AssetSummary'
          readOnly: true
          description: The detailed logo asset object, or null if no logo is associated.
        organizationId:
          type:
          - string
          - 'null'
          format: uuid
          readOnly: true
          description: identifier of the brand organization
          example: 123e4567-e89b-12d3-a456-426614174000
        organizationName:
          type:
          - string
          - 'null'
          description: name of the brand organization
        createdAt:
          type: string
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          format: date-time
          readOnly: true
        brandDnaStatus:
          type: string
          readOnly: true
          enum:
          - none
          - pending
          - extracting
          - ready
          - failed
          description: Current Brand DNA extraction status
          default: none
          example: none
      required:
      - id
      - name
      - industry
      - description
      - mission
      - values
      - tone
      - voice
      - createdAt
      - updatedAt
    AssetSummary:
      type: object
      required:
      - assetId
      - assetType
      - previewUrl
      - assetUrl
      properties:
        assetId:
          type: string
          format: uuid
          description: The ID of the asset.
        assetType:
          type: string
          enum:
          - image
          - logo
          - video
          - document
          - environment
          - font
          - mask
          - model
          - text
          - walmart_preview
        previewUrl:
          type:
          - string
          - 'null'
          format: url
          description: URL to the preview of the asset.
          example: https://cdn.example.com/assets/asset-123e4567-thumb.jpg
        assetUrl:
          type:
          - string
          - 'null'
          format: url
          description: URL to the asset.
          example: https://cdn.example.com/assets/asset-123e4567-img.jpg
        displayUrl:
          type:
          - string
          - 'null'
          format: url
          description: A screen-size rendition (2048 px long edge at most) for a full-screen viewer. Never the original file of a large image. Use the full URL only to download.
    ErrorError:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          example: INVALID_REQUEST
        message:
          type: string
          example: Invalid input data provided
        details:
          description: "Additional error context (optional, can be object or array). Absent on\nmost errors; the message is the only guaranteed human-readable field.\n\nUpload rejections populate it, because a client needs to act on the\nanswer rather than parse it. `POST /v1/assets/initiate-upload` and\n`POST /v1/assets/confirm-upload` return:\n\n- `reason` — `unsupported_declared_type` when the declared MIME type is\n  not accepted, or `unsupported_file_contents` when the uploaded bytes\n  are a different format than declared (an AVIF saved with a `.jpg`\n  name, say). Only confirm-upload can report the second: it is the\n  first point that reads the real bytes.\n- `declaredType` — the MIME type the client sent.\n- `detectedFormat` — the format the bytes actually are, on\n  `unsupported_file_contents` only.\n- `supportedFormats` — every format an upload may be.\n- `retryable` — `false` on both, meaning the same bytes will be\n  rejected again. Clients must not retry these.\n"
          example:
            reason: unsupported_file_contents
            declaredType: image/jpeg
            detectedFormat: AVIF
            retryable: false
            supportedFormats:
            - DOC
            - DOCX
            - GIF
            - JPEG
            - MP4
            - PDF
            - PNG
            - QuickTime
            - TIFF
    UpdateBrandRequest:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
          minLength: 1
          maxLength: 100
          example: Acme Corporation
        industry:
          type:
          - string
          - 'null'
          minLength: 1
          maxLength: 50
          example: Technology
        description:
          type:
          - string
          - 'null'
          maxLength: 280
          example: Leading provider of innovative cloud solutions
        mission:
          type:
          - string
          - 'null'
          maxLength: 1000
          example: To accelerate the world's transition to sustainable technology
        values:
          type:
          - array
          - 'null'
          items:
            type: string
            maxLength: 50
          maxItems: 10
          example:
          - Innovation
          - Sustainability
          - Customer Focus
        tone:
          type:
          - array
          - 'null'
          items:
            type: string
            enum:
            - Professional
            - Casual
            - Friendly
            - Authoritative
            - Playful
            - Innovative
            - Traditional
            - Luxurious
          maxItems: 5
          example:
          - Professional
          - Innovative
        voice:
          type:
          - array
          - 'null'
          items:
            type: string
            maxLength: 50
          maxItems: 5
          example:
          - Clear
          - Confident
          - Expert
        logoAssetId:
          type:
          - string
          - 'null'
          format: uuid
          description: ID of an existing asset to update the brand's logo. Send null to disassociate logo.
          example: 123e4567-e89b-12d3-a456-426614174000
    Error:
      description: Standard error response
      type: object
      required:
      - error
      - requestId
      properties:
        error:
          $ref: '#/components/schemas/ErrorError'
        requestId:
          type: string
          format: uuid
          description: Unique identifier for the request, useful for tracing.
    BrandDnaResponse:
      type: object
      properties:
        brandId:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - none
          - pending
          - extracting
          - ready
          - failed
          description: Current Brand DNA extraction status
        version:
          type: integer
          description: Current Brand DNA version (0 if no extraction has been done)
        brandDna:
          type:
          - object
          - 'null'
          description: The merged Brand DNA JSON (null if not ready)
        sourceAssetIds:
          type: array
          items:
            type: string
            format: uuid
          description: Asset IDs of PDFs used in this version
      required:
      - brandId
      - status
      - version
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token for authentication.