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

# Schedule Post



## OpenAPI

````yaml https://api.bavlio.com/openapi.json post /api/v1/linkedin/posts/schedule
openapi: 3.1.0
info:
  title: Bavlio API
  description: >-
    Outreach automation API — lead enrichment, email campaigns, LinkedIn
    automation, and AI agent. Full docs at https://docs.bavlio.com.
  version: 1.0.0
servers: []
security: []
tags:
  - name: API Keys
    description: >-
      Create, list, and revoke API keys for programmatic access. JWT
      authentication required.
  - name: credits
    description: Credit balance, cost estimates, and transaction history.
  - name: campaigns
    description: Create, manage, launch, and monitor email campaigns.
  - name: campaign-personalization
    description: AI-powered email subject and body personalization for campaigns.
  - name: email-finder
    description: Find and verify email addresses for prospects.
  - name: email-verification
    description: Validate email addresses and prune invalid entries from datasets.
  - name: sender-profiles
    description: Manage sender identity profiles for outreach.
  - name: sender-profile-chat
    description: Interactive chat for building sender profiles.
  - name: templates
    description: Email template CRUD.
  - name: suppression
    description: Do-not-contact suppression list management.
  - name: datasets
    description: Lead dataset listing, download, and updates.
  - name: user-extractions
    description: Uploaded lead file management and processing.
  - name: enrichment-chat
    description: Interactive chat for data enrichment sessions.
  - name: enrichment-processing
    description: Batch lead enrichment processing.
  - name: File Upload (CSV/Excel)
    description: Upload and preview CSV/Excel lead files.
  - name: connected-accounts
    description: LinkedIn account connections via Unipile.
  - name: linkedin-content
    description: LinkedIn post creation, scheduling, and management.
  - name: linkedin-playground
    description: Direct LinkedIn actions (profile lookup, messaging, engagement).
  - name: bavimail-proxy
    description: BaviMail domain, alias, and email management.
  - name: agent
    description: Bavi AI agent chat with SSE streaming.
  - name: notifications
    description: Notification preferences and delivery.
  - name: referral
    description: Referral code management and stats.
  - name: feedback
    description: User feedback submission.
  - name: authentication
    description: JWT token verification and user info.
  - name: Google OAuth
    description: Google OAuth login flow and access tokens.
  - name: Google Sheets OAuth
    description: Google Sheets import and access management.
  - name: stripe
    description: Stripe checkout, billing portal, and subscription status. JWT only.
  - name: users
    description: User quota and usage information.
  - name: Health
    description: Health checks and system status.
  - name: Personalization
    description: Core lead personalization engine.
  - name: Session Management
    description: Enrichment session lifecycle.
  - name: Session Processing
    description: Session data processing.
  - name: webhooks
    description: Inbound webhook handlers (Stripe, BaviMail, Unipile).
paths:
  /api/v1/linkedin/posts/schedule:
    post:
      tags:
        - linkedin-content
      summary: Schedule Post
      operationId: schedule_post_api_v1_linkedin_posts_schedule_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_schedule_post_api_v1_linkedin_posts_schedule_post
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedInPostResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    Body_schedule_post_api_v1_linkedin_posts_schedule_post:
      properties:
        text:
          type: string
          maxLength: 3000
          minLength: 1
          title: Text
        scheduled_at:
          type: string
          title: Scheduled At
        connected_account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Connected Account Id
        image:
          anyOf:
            - type: string
              format: binary
            - type: 'null'
          title: Image
      type: object
      required:
        - text
        - scheduled_at
      title: Body_schedule_post_api_v1_linkedin_posts_schedule_post
    LinkedInPostResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        user_id:
          type: string
          format: uuid
          title: User Id
        connected_account_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Connected Account Id
        unipile_post_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Unipile Post Id
        social_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Social Id
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
        share_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Share Url
        attachments:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Attachments
          default: []
        status:
          type: string
          title: Status
        is_repost:
          type: boolean
          title: Is Repost
          default: false
        author_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Author Name
        author_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Author Id
        published_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Published At
        scheduled_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Scheduled At
        retry_count:
          type: integer
          title: Retry Count
          default: 0
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
        impressions:
          type: integer
          title: Impressions
          default: 0
        reactions:
          type: integer
          title: Reactions
          default: 0
        comments:
          type: integer
          title: Comments
          default: 0
        reposts:
          type: integer
          title: Reposts
          default: 0
        metrics_updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Metrics Updated At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - user_id
        - status
        - created_at
        - updated_at
      title: LinkedInPostResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````