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

# Refresh selected posts

> Starts a refresh job for an explicit post ID list or filtered scope and returns its `jobId` — poll `GET .../posts/bulk/refresh/status`. The job holds the campaign's one-at-a-time lock like a whole-campaign refresh (409 `campaign_bulk_refresh_in_progress` while any job runs). Every selected post is refreshed now, whenever it was last refreshed and whatever its refresh schedule, including posts past their refresh window and posts paused as unavailable; only a post whose refresh is already running is left out, along with story posts and platforms without refresh support. When every selected post is already refreshing, the request returns 400 and no job starts. Each selection has its own cooldown, sized by the posts selected (409 `manual_refresh_cooldown`). The campaign cooldown also applies (409 `campaign_bulk_refresh_cooldown`) when the selection covers every refreshable post in the campaign. Organizations with refresh turned off get 409 `org_refresh_stopped`.



## OpenAPI

````yaml /openapi.json post /api/v2/campaigns/{cid}/posts/bulk/refresh
openapi: 3.2.0
info:
  title: CreatorCore API
  version: 1.0.0-beta
  description: >-
    REST API for CreatorCore organizations.


    Use it to manage creators, campaigns, lists, media kits, tracked channels,
    posts, and sounds, and related resources.


    ## Authentication


    Authenticate with an **organization API key**:


    ```

    Authorization: Bearer cc_live_…

    X-CreatorCore-Organization-Id: <your organization ID>

    ```


    Create keys under **Settings → Integrations → API keys**; your organization
    ID is shown there too. Production keys use the `cc_live_` prefix;
    non-production keys use `cc_test_`.

    The organization ID is not a secret and does not authenticate. It lets your
    API traffic through network protection; requests without it may be blocked
    before they reach the API.

    Each key is scoped to a single organization — every request operates in that
    org's context.


    Browser apps that already have a signed-in session may also authenticate via
    the session cookie.


    ## Start here


    1. `GET /api/v2/creators` — filter the roster. Pass
    `include=rating,birthday,location` (or `include=detail`) for profile fields
    omitted from list rows by default.

    2. `GET /api/v2/creators/{id}` and `GET /api/v2/creators/{id}/analytics` —
    full profile and time series.

    3. `GET /api/v2/posts/browse` and `GET /api/v2/posts/aggregates` —
    performance reporting (needs the Posts feature).

    4. `GET /api/v2/discovery/creator` (also `/channel`, `/post`) — semantic
    search (needs Discovery).

    5. `GET /api/v2/collect/{platform}/…` — live platform fetch (separate
    grants).


    ## Conventions


    - Successful JSON responses use `{ "success": true, … }`.

    - Errors use `{ "success": false, "error": "…", "code": "…" }` with an
    appropriate HTTP status.

    - `403` with code `feature_disabled` means the feature is turned off for the
    organization (API keys included). Nothing is lost; it works again once the
    feature is turned on.

    - `403` with code `organization_deactivated` means the organization has been
    deactivated (API keys and connectors included). Nothing is deleted; every
    request works again once CreatorCore reactivates it. Contact
    support@creatorcore.co.

    - JSON bodies use camelCase. Query parameters use snake_case.

    - File and image fields (media `url`, partner `logo`, campaign `thumbnail`,
    creator `profilePicture`, and similar) are absolute URLs for API-key
    callers, served through this API. Send them back unchanged when you write
    the same field.

    - Collection endpoints that support pagination accept `limit` and `offset`
    and return `total`. Discovery and some collect/story feeds use cursor
    pagination instead.

    - Repeatable query params (for example `include`, `sort`) may be specified
    multiple times. A leading `-` on a `sort` token means descending.

    - Endpoints that return `202` queue work. Poll `GET /api/v2/tasks/{id}` with
    the returned job id. Some campaign refresh endpoints also expose a
    convenience `.../refresh/status` URL.

    - Notification destinations (Slack, email, SMS) deliver to people in the
    product; they are not HTTP callbacks to your server.
servers:
  - url: https://beta.creatorcore.co
    description: Production
security:
  - bearerOrgApiKey: []
    orgIdHeader: []
tags:
  - name: Creators
    description: >-
      Creator profiles on your roster (`/api/v2/creators`): create, filter, and
      read people plus their analytics; start here for anything about a person
      rather than a single social account.
  - name: Creator channels
    description: >-
      Social accounts linked to a creator (`/api/v2/creators/{id}/channels`);
      use these to attach, list, or detach a creator's TikTok, Instagram,
      YouTube, and other profiles.
    parent: Creators
  - name: Creator rate cards
    description: >-
      A creator's prices per deliverable (`/api/v2/creators/{id}/rate-cards`),
      with revision history; use them when quoting or comparing creator costs.
    parent: Creators
  - name: Creator activity and ratings
    description: >-
      Your team's comments, flags, and ratings on a creator
      (`/api/v2/creators/{id}/activity`, `/flags`, `/team-ratings`); use them to
      record internal notes and assessments.
    parent: Creators
  - name: CreatorLink
    description: >-
      Verified account connections (`/api/v2/creator-connects`): run the
      CreatorLink flow from your own app. Mint a connect URL per platform, send
      the creator there, read per-platform connection status, re-sync, and
      disconnect. Create the link with `POST /api/v2/creators/{id}/connect`; see
      the [CreatorLink guide](/guides/creatorlink).
  - name: Channels
    description: >-
      Social accounts your organization tracks (`/api/v2/channels`); import a
      profile by URL, read its stats, and queue a data refresh.
  - name: Posts
    description: >-
      Social posts your organization tracks (`/api/v2/posts`); import posts by
      URL, browse and aggregate their performance, and read metric history.
  - name: Sounds
    description: >-
      Audio tracks your organization tracks (`/api/v2/sounds`), such as TikTok
      sounds; import a sound by URL and read its usage.
  - name: Campaigns
    description: >-
      Influencer campaigns (`/api/v2/campaigns`): create and update campaigns,
      assign managers, tag them, and read the activity feed. Everything inside
      one campaign is in the sub-sections below.
  - name: Campaign activations
    description: >-
      Creators added to a campaign (`/api/v2/campaigns/{cid}/creators`), each
      with its own status, fee, managers, and deliverables; use these to add,
      update, or remove creators in bulk or one at a time.
    parent: Campaigns
  - name: Campaign deliverables
    description: >-
      Content each creator owes on a campaign
      (`/api/v2/campaigns/{cid}/deliverables`) and the campaign's default
      deliverable set; use them to track what is due and link the posts that
      fulfil it.
    parent: Campaigns
  - name: Campaign drafts
    description: >-
      Content drafts submitted for review before posting
      (`/api/v2/campaigns/{cid}/drafts`), with feedback threads.
    parent: Campaigns
  - name: Campaign posts and stories
    description: >-
      Published posts and stories attached to a campaign
      (`/api/v2/campaigns/{cid}/posts`, `/stories`); add, tag, refresh, export,
      and aggregate campaign content.
    parent: Campaigns
  - name: Campaign automation
    description: >-
      Rules that add matching posts to a campaign and tag them automatically
      (`/api/v2/campaigns/{cid}/auto-add-rules`, `/auto-post-tagging`).
    parent: Campaigns
  - name: Campaign documents and briefs
    description: >-
      Files and creative briefs attached to a campaign
      (`/api/v2/campaigns/{cid}/documents`, `/briefs`).
    parent: Campaigns
  - name: Campaign financials
    description: >-
      A campaign's budget view (`/api/v2/campaigns/{cid}/financials`): read
      totals and log pay-ins and off-platform payouts. To actually pay a
      creator, use Payouts.
    parent: Campaigns
  - name: Campaign modules
    description: >-
      Modules enabled on a campaign (`/api/v2/campaigns/{cid}/modules`), from
      system or organization module types.
    parent: Campaigns
  - name: Campaign settings and sharing
    description: >-
      Campaign settings, partner access, and share-link password
      (`/api/v2/campaigns/{cid}/settings`, `/partner`, `/password`); use them to
      configure what a partner sees.
    parent: Campaigns
  - name: Lists
    description: >-
      Creator shortlists (`/api/v2/lists`): build a list, collect partner
      feedback and approvals, and convert it into a campaign.
  - name: Rosters
    description: >-
      Named, ordered groups of creators (`/api/v2/rosters`), such as an agency's
      talent roster; one roster can be marked primary.
  - name: Media kits
    description: >-
      Shareable creator media kits (`/api/v2/media-kits`) with featured posts,
      modules, past collaborations, and rate cards.
  - name: Casting calls
    description: >-
      Open calls for creators (`/api/v2/casting-calls`): draft, publish, invite,
      and close a call. Browse other organizations' public calls here too.
  - name: Casting call applications
    description: >-
      Applications to a casting call: review and approve them as the host, or
      submit and track your own as an applicant.
    parent: Casting calls
  - name: Casting call questions
    description: >-
      Custom questions applicants answer when applying to a casting call
      (`/api/v2/casting-calls/{id}/questions`).
    parent: Casting calls
  - name: Partners
    description: >-
      Brands and clients you run campaigns for (`/api/v2/partners`), including
      their partner-portal access.
  - name: Folders
    description: >-
      Folders that organize lists or campaigns (`/api/v2/folders`), with an
      optional password-protected share link.
  - name: Stories
    description: >-
      Instagram stories captured for your organization (`/api/v2/stories`);
      import, filter, tag, export, and read story statistics.
  - name: Story tags
    description: >-
      Labels you define for stories (`/api/v2/story-tags`); create them here,
      then apply them from Stories.
  - name: Discovery
    description: >-
      Semantic search across creators, channels, and posts
      (`/api/v2/discovery`); use it to find new creators rather than filter your
      own roster.
  - name: Collect
    description: >-
      Live platform fetches by id, username, or URL
      (`/api/v2/collect/{platform}`); use them for fresh data on any account or
      post. API keys need a matching `collect.*` grant.
  - name: Payouts
    description: >-
      Pay creators with a quote-then-pay flow (`/api/v2/pay`): onboard
      recipients, check balances and deposits, quote and send payouts, and
      handle payment requests. Requires the payouts add-on.
  - name: Organization
    description: >-
      The organization your API key belongs to (`/api/v2/org`): its profile,
      tags, activation statuses, and deliverable types. Members, keys, branding,
      and templates are in the sub-sections below.
  - name: Members and roles
    description: >-
      People in your organization, pending invites, and the roles that grant
      permissions (`/api/v2/org/members`, `/invites`, `/roles`).
    parent: Organization
  - name: API keys
    description: >-
      Organization API keys (`/api/v2/org/api-keys`): create, scope, rotate, and
      revoke the keys integrations authenticate with.
    parent: Organization
  - name: Branding
    description: >-
      Logo, colors, and other branding applied to shared pages and emails
      (`/api/v2/org/branding`).
    parent: Organization
  - name: Campaign templates
    description: >-
      Reusable campaign setups and custom-column templates for activations
      (`/api/v2/org/campaign-templates`, `/campaign-metadata-templates`) to
      start new campaigns from.
    parent: Organization
  - name: Imports
    description: >-
      Staged creator and post CSV imports (`/api/v2/imports`): send rows inline
      or upload a file, review the auto-mapping and dry-run preview, then commit
      and poll per-row results. Use for bulk adds; use Creators or Posts for one
      record.
  - name: Media
    description: >-
      Uploaded files (`/api/v2/media`): upload directly or via client upload for
      large files, then reference the returned URL from other resources.
  - name: Integrations
    description: >-
      Connected platform accounts (`/api/v2/integrations`), such as Instagram
      accounts linked through OAuth.
  - name: Public
    description: >-
      Unauthenticated, slug-based access to resources you have shared
      (`/api/v2/public`); the slug or link id acts as the credential, so no API
      key is needed.
  - name: Tasks
    description: >-
      Background jobs (`/api/v2/tasks`); poll `GET /api/v2/tasks/{id}` with the
      job id a `202 Accepted` response returns.
  - name: Utilities
    description: >-
      Helpers that are not tied to one resource (`/api/v2/utilities`): resolve
      social links, proxy images, and manage notifications.
  - name: Notifications
    description: >-
      The notification outbox (`/api/v2/utilities/notifications`): enqueue,
      inspect, cancel, and redeliver notifications, and list the event topics
      you can subscribe to.
    parent: Utilities
  - name: Notification destinations
    description: >-
      Where notifications are delivered
      (`/api/v2/utilities/notifications/destinations`): Slack, email, SMS, or a
      signed webhook endpoint.
    parent: Utilities
  - name: Notification subscriptions
    description: >-
      Which event topics each destination receives
      (`/api/v2/utilities/notifications/subscriptions`).
    parent: Utilities
  - name: Notification preferences
    description: >-
      Your personal per-topic notification settings
      (`/api/v2/utilities/notifications/preferences`).
    parent: Utilities
  - name: Meta
    description: >-
      This API's machine-readable OpenAPI document (`/api/v2/openapi.json`); use
      it to generate clients or give an agent the full API surface.
  - name: Webhooks
    description: >-
      Events CreatorCore sends to your webhook destinations as signed `POST`
      requests: payout status changes, deposits, balance holds, recipient
      onboarding steps, and the test event. Set up destinations and
      subscriptions under Notification destinations and Notification
      subscriptions; see the [webhooks guide](/guides/webhooks) for signature
      verification and retries.
paths:
  /api/v2/campaigns/{cid}/posts/bulk/refresh:
    post:
      tags:
        - Campaign posts and stories
      summary: Refresh selected posts
      description: >-
        Starts a refresh job for an explicit post ID list or filtered scope and
        returns its `jobId` — poll `GET .../posts/bulk/refresh/status`. The job
        holds the campaign's one-at-a-time lock like a whole-campaign refresh
        (409 `campaign_bulk_refresh_in_progress` while any job runs). Every
        selected post is refreshed now, whenever it was last refreshed and
        whatever its refresh schedule, including posts past their refresh window
        and posts paused as unavailable; only a post whose refresh is already
        running is left out, along with story posts and platforms without
        refresh support. When every selected post is already refreshing, the
        request returns 400 and no job starts. Each selection has its own
        cooldown, sized by the posts selected (409 `manual_refresh_cooldown`).
        The campaign cooldown also applies (409
        `campaign_bulk_refresh_cooldown`) when the selection covers every
        refreshable post in the campaign. Organizations with refresh turned off
        get 409 `org_refresh_stopped`.
      operationId: postCampaignsByCidPostsBulkRefresh
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: cid
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                target:
                  oneOf:
                    - type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - ids
                        campaignPostIds:
                          type: array
                          items:
                            type: string
                            format: uuid
                          minItems: 1
                          maxItems: 10000
                      required:
                        - kind
                        - campaignPostIds
                    - type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - scope
                        search:
                          type: string
                          maxLength: 200
                        filters:
                          type: object
                          properties:
                            tagIds:
                              type: array
                              items:
                                type: string
                                format: uuid
                              default: []
                            matchAllTags:
                              type: boolean
                              default: true
                            excludeTagIds:
                              type: array
                              items:
                                type: string
                                format: uuid
                              default: []
                            matchAllExcludeTags:
                              type: boolean
                              default: false
                            platform:
                              type:
                                - string
                                - 'null'
                              enum:
                                - youtube
                                - tiktok
                                - instagram
                                - twitter
                                - facebook
                                - linkedin
                                - snapchat
                                - spotify
                                - twitch
                                - threads
                                - null
                              default: null
                            platforms:
                              type: array
                              items:
                                type: string
                                enum:
                                  - youtube
                                  - tiktok
                                  - instagram
                                  - twitter
                                  - facebook
                                  - linkedin
                                  - snapchat
                                  - spotify
                                  - twitch
                                  - threads
                            publishedFrom:
                              type:
                                - string
                                - 'null'
                              pattern: ^\d{4}-\d{2}-\d{2}$
                              default: null
                            publishedTo:
                              type:
                                - string
                                - 'null'
                              pattern: ^\d{4}-\d{2}-\d{2}$
                              default: null
                            collectedFrom:
                              type:
                                - string
                                - 'null'
                              pattern: ^\d{4}-\d{2}-\d{2}$
                              default: null
                            collectedTo:
                              type:
                                - string
                                - 'null'
                              pattern: ^\d{4}-\d{2}-\d{2}$
                              default: null
                            viewsMin:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            viewsMax:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            likesMin:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            likesMax:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            commentsMin:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            commentsMax:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            engagementMin:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            engagementMax:
                              type:
                                - integer
                                - 'null'
                              minimum: 0
                              default: null
                            autoAdd:
                              type:
                                - boolean
                                - 'null'
                              default: null
                            untaggedOnly:
                              type: boolean
                              default: false
                            mediaFormat:
                              type:
                                - string
                                - 'null'
                              enum:
                                - video
                                - static
                                - null
                            postKinds:
                              type: array
                              items:
                                type: string
                                enum:
                                  - short
                                  - long
                                  - photo
                                  - carousel
                                  - story
                                  - unknown
                              maxItems: 6
                            useEstimatedMetrics:
                              type: boolean
                              default: true
                        excludeCampaignPostIds:
                          type: array
                          items:
                            type: string
                            format: uuid
                          maxItems: 10000
                      required:
                        - kind
                        - filters
              required:
                - target
      responses:
        '202':
          description: >-
            Accepted — work queued. Poll `GET /api/v2/tasks/{id}` with the
            returned job id.
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      success:
                        type: boolean
                        enum:
                          - true
                    required:
                      - success
                  - type: object
                    properties:
                      jobId:
                        type: string
                        format: uuid
                      total:
                        type: integer
                    required:
                      - jobId
                      - total
        '400':
          $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
        code:
          type: string
        details: {}
      required:
        - success
        - error
        - code
      description: Standard error response (`success`, `error`, `code`)
  securitySchemes:
    bearerOrgApiKey:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Organization API key. Send `Authorization: Bearer <key>`. Keys start
        with `cc_live_` (production) or `cc_test_` (non-production). Create and
        manage keys under Settings → Integrations → API keys. Send it together
        with the `X-CreatorCore-Organization-Id` header.
    orgIdHeader:
      type: apiKey
      in: header
      name: X-CreatorCore-Organization-Id
      description: >-
        Your organization ID (a UUID). Send it with every API-key request. It is
        not a secret and does not authenticate; it lets your API traffic through
        network protection. Find it under Settings → Integrations → API keys.

````

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