> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appstatic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload a batch to Meta as paused drafts



## OpenAPI

````yaml /api-reference/openapi.yaml post /meta/upload
openapi: 3.1.0
info:
  title: appstatic API
  version: '1.0'
  description: >-
    Generate audited Meta static ads for your app and push them to your ad
    account.
servers:
  - url: https://www.appstatic.io/api/v1
security:
  - bearerAuth: []
paths:
  /meta/upload:
    post:
      summary: Upload a batch to Meta as paused drafts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - batchId
              properties:
                batchId:
                  type: string
                  format: uuid
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  campaignId:
                    type: string
                  adSets:
                    type: object
                  ads:
                    type: integer
                  status:
                    type: string
                    example: PAUSED
        '409':
          description: Meta not connected
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from Settings → API & agents (as_live_…)

````