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

# Generate more social calendar posts

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Starts one background generation run in manual mode.
Acceptance means generation has started, not that new posts are ready.
Read [Get social calendar automation](/api-reference/get-social-calendar-automation) until
`generating` is false and check `last_error` before refreshing the posts.

Only one generation can run per app. If the response is lost, check generation status before
sending this request again. A new request after completion starts another billed generation.

Authenticate with a personal access token, or with a workspace API key, which acts as the
workspace owner. You need editor access to the app, and social calendar access must be enabled for
your account. This API is in developer preview (beta).

Responses include `X-Request-Id`. Once authentication passes, rate-limit responses include
`X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix seconds).
Wait for `Retry-After` before retrying a rate-limited request.

Shares a base limit of 20 requests per minute per requester and app with creating, editing, deleting and approving posts. Workspace multipliers can raise this limit.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/social-calendar/automation/generate-more
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/apps/{app_id}/social-calendar/automation/generate-more:
    post:
      summary: Generate more social calendar posts
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Starts one background generation run in manual mode.

        Acceptance means generation has started, not that new posts are ready.

        Read [Get social calendar
        automation](/api-reference/get-social-calendar-automation) until

        `generating` is false and check `last_error` before refreshing the
        posts.


        Only one generation can run per app. If the response is lost, check
        generation status before

        sending this request again. A new request after completion starts
        another billed generation.


        Authenticate with a personal access token, or with a workspace API key,
        which acts as the

        workspace owner. You need editor access to the app, and social calendar
        access must be enabled for

        your account. This API is in developer preview (beta).


        Responses include `X-Request-Id`. Once authentication passes, rate-limit
        responses include

        `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`
        (Unix seconds).

        Wait for `Retry-After` before retrying a rate-limited request.


        Shares a base limit of 20 requests per minute per requester and app with
        creating, editing, deleting and approving posts. Workspace multipliers
        can raise this limit.
      operationId: >-
        generate_more_api_api_apps__app_id__social_calendar_automation_generate_more_post
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app whose social calendar you want.
            title: App Id
          description: ID of the app whose social calendar you want.
          example: 6820f3a4e7b91d003c45a1f2
        - name: X-Active-Branch-Id
          in: header
          required: false
          schema:
            type: string
            description: >-
              ID of the branch the editor shows. Used when `branch_id` is
              omitted, for users who work on protected-main branches.
            title: X-Active-Branch-Id
          description: >-
            ID of the branch the editor shows. Used when `branch_id` is omitted,
            for users who work on protected-main branches.
          example: 68f1a2b3c4d5e6f708192a3b
      responses:
        '202':
          description: The app's automation state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutomationStateResponse'
              example:
                mode: manual
                platforms:
                  - linkedin
                timezone_name: America/New_York
                last_replenished_at: '2026-09-30T08:00:00Z'
                generating: true
                can_publish: true
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '401':
          description: '`unauthenticated`. Missing or invalid credentials.'
          content:
            application/json:
              examples:
                unauthenticated:
                  summary: unauthenticated
                  value:
                    error:
                      code: unauthenticated
                      message: Authentication required
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '403':
          description: >-
            `forbidden` without editor access to the app.
            `app_marketing_not_allowed` when the app's workspace has the FERPA
            designation.
          content:
            application/json:
              examples:
                forbidden:
                  summary: forbidden
                  value:
                    error:
                      code: forbidden
                      message: You don't have editor access to this app.
                      details: {}
                app_marketing_not_allowed:
                  summary: app_marketing_not_allowed
                  value:
                    error:
                      code: app_marketing_not_allowed
                      message: >-
                        App advertising and social marketing are not available
                        for this app's workspace.
                      details:
                        capability: app_marketing
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '404':
          description: >-
            `not_found`. The app doesn't exist, or social calendar access isn't
            enabled.
          content:
            application/json:
              examples:
                not_found:
                  summary: not_found
                  value:
                    error:
                      code: not_found
                      message: Not found
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '409':
          description: >-
            `social_calendar_generate_more_unavailable` unless manual mode is
            selected, or `social_calendar_generation_busy` while a run is
            active.
          content:
            application/json:
              examples:
                social_calendar_generate_more_unavailable:
                  summary: social_calendar_generate_more_unavailable
                  value:
                    error:
                      code: social_calendar_generate_more_unavailable
                      message: >-
                        Generating more posts on demand is only available in
                        manual mode.
                      details: {}
                social_calendar_generation_busy:
                  summary: social_calendar_generation_busy
                  value:
                    error:
                      code: social_calendar_generation_busy
                      message: >-
                        Posts are already being generated. Please wait for them
                        to finish.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '422':
          description: '`invalid_request`. A required parameter is missing or invalid.'
          content:
            application/json:
              examples:
                invalid_request:
                  summary: invalid_request
                  value:
                    error:
                      code: invalid_request
                      message: Invalid request
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
        '429':
          description: '`rate_limited`. Wait for the interval in `Retry-After`.'
          content:
            application/json:
              examples:
                rate_limited:
                  summary: rate_limited
                  value:
                    error:
                      code: rate_limited
                      message: >-
                        Rate limit exceeded. Retry after the interval in
                        Retry-After.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request identifier for support.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Effective request limit for this window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left in this window.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Window reset time in Unix seconds.
              schema:
                type: integer
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
        - WorkspaceApiKeyAuth:
            - full_access
        - WorkspaceApiKeyBearerAuth:
            - full_access
components:
  schemas:
    AutomationStateResponse:
      properties:
        mode:
          anyOf:
            - $ref: '#/components/schemas/SocialCalendarAutomationMode'
            - type: 'null'
          description: >-
            Publishing mode. Either `auto`, `semi_auto` or `manual`, or `null`
            before a mode is chosen.
          example: manual
        platforms:
          items:
            $ref: '#/components/schemas/Platform'
          type: array
          title: Platforms
          description: >-
            Configured channels. Values are `instagram`, `linkedin`, `facebook`,
            `x`, `tiktok` or `reddit`. Defaults to an empty list before
            configuration.
          example:
            - linkedin
        timezone_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Timezone Name
          description: >-
            IANA time zone used for the publishing schedule, or `null` before
            configuration.
          example: America/New_York
        next_replenishment_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Next Replenishment At
          description: >-
            Next planned generation as a UTC timestamp in ISO 8601 format, or
            `null` in manual mode or before configuration.
          example: '2026-10-01T08:00:00Z'
        last_replenished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Replenished At
          description: >-
            Last completed generation as a UTC timestamp in ISO 8601 format, or
            `null` if no generation has completed.
          example: '2026-09-30T08:00:00Z'
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
          description: >-
            Most recent generation failure, or `null` when no failure is stored.
            The value `insufficient_credits` means the workspace needs more
            integration credits.
          example: insufficient_credits
        publish_dry_run:
          type: boolean
          title: Publish Dry Run
          description: >-
            Whether automatically approved posts use simulated publishing in a
            test environment.
          default: false
          example: false
        generating:
          type: boolean
          title: Generating
          description: >-
            Reports `true` while a generation run holds an active claim and
            `false` otherwise. Defaults to `false` before configuration.
          default: false
          example: true
        can_publish:
          type: boolean
          title: Can Publish
          description: >-
            Whether the workspace's plan lets Base44 publish posts. When
            `false`, choosing `auto` or `semi_auto` fails with
            `social_calendar_plan_limited` and scheduled posts stay
            `not_materialized_plan_limit`; `manual` stays available.
          example: true
      type: object
      required:
        - can_publish
      title: AutomationStateResponse
      description: The app's publishing settings and latest generation progress.
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    SocialCalendarAutomationMode:
      type: string
      enum:
        - auto
        - semi_auto
        - manual
      title: SocialCalendarAutomationMode
      description: >-
        How much of the calendar the app runs on its own.


        ``AUTO`` generates, approves and publishes unattended; ``SEMI_AUTO``
        generates

        and waits for the user to approve; ``MANUAL`` generates only when asked
        and

        publishes nothing.
    Platform:
      type: string
      enum:
        - x
        - instagram
        - tiktok
        - linkedin
        - reddit
        - facebook
      title: Platform
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

## Related topics

- [Promoting your app on social media](https://docs.base44.com/promoting-your-app/social-content.md)
- [Credits](https://docs.base44.com/Account-and-billing/Credits.md)
- [Using the Marketing Agent for your app](https://docs.base44.com/promoting-your-app/creating-a-marketing-plan.md)
- [Set social calendar automation](https://docs.base44.com/api-reference/set-social-calendar-automation.md)
- [List scheduled posts](https://docs.base44.com/api-reference/list-scheduled-posts.md)


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