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

# Get bulk upload status

> Poll the media transloading and scheduling progress of a bulk upload batch.



## OpenAPI

````yaml openapi.json GET /api/v1/posts/bulk/status
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/posts/bulk/status:
    get:
      tags:
        - Posts
      summary: Get bulk upload status
      description: >-
        Poll the media transloading and scheduling progress of a bulk upload
        batch. Each post moves from PROCESSING to SCHEDULED once its remote
        media is downloaded and attached, or to FAILED with a failureReason.
      parameters:
        - schema:
            type: string
            minLength: 1
            description: Bulk upload group ID returned by the bulk upload endpoint
            example: bulk_01h7x2...
          required: true
          description: Bulk upload group ID returned by the bulk upload endpoint
          name: groupId
          in: query
      responses:
        '200':
          description: Bulk upload batch status with per-post states and summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostBulkStatusResponse'
        '400':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PostBulkStatusResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          type: object
          properties:
            posts:
              type: array
              items:
                $ref: '#/components/schemas/BulkStatusPost'
              description: Posts belonging to the bulk upload group
            summary:
              type: object
              properties:
                total:
                  type: number
                  description: Total posts in the group
                  example: 5
                completed:
                  type: number
                  description: Posts finished processing (SCHEDULED, PENDING, or DRAFT)
                  example: 4
                processing:
                  type: number
                  description: Posts currently transloading media
                  example: 1
                failed:
                  type: number
                  description: Posts that failed
                  example: 0
                isFinished:
                  type: boolean
                  description: True when no posts are processing
                  example: false
              required:
                - total
                - completed
                - processing
                - failed
                - isFinished
              description: Aggregate batch progress
          required:
            - posts
            - summary
          description: Bulk upload status payload
        error:
          type: string
          description: Error message
      required:
        - success
        - data
    BulkStatusPost:
      type: object
      properties:
        id:
          type: string
          description: Post ID
          example: post_abc123
        text:
          type:
            - string
            - 'null'
          description: Post text content
          example: Hello world!
        title:
          type:
            - string
            - 'null'
          description: Post title
        platform:
          type: string
          enum:
            - TWITTER
            - INSTAGRAM
            - REDDIT
            - ONLYFANS
            - FANSLY
            - FANVUE
            - TIKTOK
            - REDGIFS
            - THREADS
            - SNAPCHAT
            - BLUESKY
            - YOUTUBE
            - LINKEDIN
            - FACEBOOK
            - PINTEREST
            - MESSENGER
            - SLACK
            - TELEGRAM
            - DISCORD
            - GOOGLE_BUSINESS
            - MASTODON
            - HACKERNEWS
            - SUBSTACK
          description: Platform
          example: TWITTER
        postStatus:
          type: string
          description: >-
            Current post status: PROCESSING while media transloads, then
            SCHEDULED, or FAILED
          example: PROCESSING
        scheduledFor:
          type:
            - string
            - 'null'
          format: date-time
          description: Scheduled timestamp
        failureReason:
          type:
            - string
            - 'null'
          description: Error details when postStatus is FAILED
          example: 'Failed to download media: HTTP 404 Not Found'
        media:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Media ID
              storageId:
                type: string
                description: Storage ID
            required:
              - id
              - storageId
          description: Attached media references
      required:
        - id
        - text
        - platform
        - postStatus
        - scheduledFor
        - media
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.