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

# manage social accounts

> The workspace's connected accounts: social (instagram, tiktok, youtube, twitter for X, linkedin, facebook, threads, pinterest) and ad accounts (metaads, tiktokads, linkedinads, googleads, pinterestads, xads, redditads, openaiads; openaiads is ChatGPT Ads). list returns each with its status (needs_reconnect: its sign-in expired), the paid slots, and agents: whether an agent's posts and ads wait for a person's approval, whether replies, messages and removals are allowed, and whether this member may post or reads only; the owner sets all three in the app. connect returns a sign-in url for the user (for openaiads, to paste the ad account's API key); with every slot in use the owner's subscription is raised by one, with none bought it returns a checkout url. reconnect renews one on its slot; disconnect ends one, its posts staying on the platform. add_ad_pack adds packs of 500 ads running at once. buy_replies returns a checkout url for 2,500 automatic replies at $8, paid once, kept until used. save_measure keeps a number of the workspace's own (read_social_results measures); delete_measure drops one. An account is $6 a month, X $10, an ad account $10, an ad pack $10, billed to the owner.



## OpenAPI

````yaml /openapi.json post /tools/manage_social_accounts
openapi: 3.1.0
info:
  title: Eversince API
  version: '1'
  description: >-
    Every Eversince tool as one POST call, plus the routes beside them: the tool
    list, account and keys, uploads, webhooks and models. The prose is at
    https://docs.eversince.ai.
servers:
  - url: https://eversince.ai/api/v1
security:
  - bearer: []
tags:
  - name: Discovery
    description: The tool list, the same on the MCP server, the REST API and the CLI.
  - name: Workspace
    description: Projects, jobs, balances, settings, templates, skills and the overview.
  - name: Library
    description: >-
      Items, search, import, reading media, comments, calendars, the brand kit
      and public links.
  - name: Timeline
    description: 'Video editing: timelines, clips, captions, sound, language and rendering.'
  - name: Canvas
    description: 'Still editing: canvases, slides, layers and rendering.'
  - name: Generation
    description: Image, video and audio generation, upscaling, cutouts and models.
  - name: Research
    description: 'What platforms publish: pulling and keeping posts.'
  - name: Publishing
    description: Connected social accounts.
  - name: Account
    description: Balances, keys, workspaces and script sessions.
  - name: Uploads
    description: Files into the library by presigned upload or by URL.
  - name: Webhooks
    description: Job results posted to a URL as they complete.
  - name: Models
    description: Generation models and cost estimates.
paths:
  /tools/manage_social_accounts:
    post:
      tags:
        - Publishing
      summary: manage social accounts
      description: >-
        The workspace's connected accounts: social (instagram, tiktok, youtube,
        twitter for X, linkedin, facebook, threads, pinterest) and ad accounts
        (metaads, tiktokads, linkedinads, googleads, pinterestads, xads,
        redditads, openaiads; openaiads is ChatGPT Ads). list returns each with
        its status (needs_reconnect: its sign-in expired), the paid slots, and
        agents: whether an agent's posts and ads wait for a person's approval,
        whether replies, messages and removals are allowed, and whether this
        member may post or reads only; the owner sets all three in the app.
        connect returns a sign-in url for the user (for openaiads, to paste the
        ad account's API key); with every slot in use the owner's subscription
        is raised by one, with none bought it returns a checkout url. reconnect
        renews one on its slot; disconnect ends one, its posts staying on the
        platform. add_ad_pack adds packs of 500 ads running at once. buy_replies
        returns a checkout url for 2,500 automatic replies at $8, paid once,
        kept until used. save_measure keeps a number of the workspace's own
        (read_social_results measures); delete_measure drops one. An account is
        $6 a month, X $10, an ad account $10, an ad pack $10, billed to the
        owner.
      operationId: manage_social_accounts
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/WorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                    - list
                    - connect
                    - reconnect
                    - disconnect
                    - add_ad_pack
                    - buy_replies
                    - save_measure
                    - delete_measure
                measure:
                  description: >-
                    save_measure: a number of the workspace's own on its social
                    accounts.
                  type: object
                  properties:
                    id:
                      description: >-
                        An existing number to change; left out, a new one is
                        kept.
                      type: string
                    name:
                      type: string
                    formula:
                      type: string
                      description: >-
                        Arithmetic over views, impressions, reach, likes,
                        comments, shares, saves, clicks, interactions,
                        followers, followers_gained and posts.
                    shape:
                      description: How it is written; count by default.
                      type: string
                      enum:
                        - count
                        - percent
                        - times
                        - money
                    alert_when:
                      description: >-
                        With alert_value: listed under Needs attention past that
                        value.
                      type: string
                      enum:
                        - above
                        - below
                    alert_value:
                      type: number
                  required:
                    - name
                    - formula
                measure_id:
                  description: 'delete_measure: the number to drop.'
                  type: string
                platform:
                  description: 'connect: the platform or ad platform to connect.'
                  type: string
                  enum:
                    - instagram
                    - tiktok
                    - youtube
                    - twitter
                    - linkedin
                    - facebook
                    - threads
                    - pinterest
                    - metaads
                    - tiktokads
                    - linkedinads
                    - googleads
                    - pinterestads
                    - xads
                    - redditads
                    - openaiads
                account_id:
                  description: 'reconnect, disconnect: an id from list.'
                  type: string
                packs:
                  description: 'add_ad_pack, buy_replies: count.'
                  type: integer
                  minimum: 1
                  maximum: 20
                context:
                  description: 'Optional: one sentence shown to the user beside this action.'
                  type: string
                  maxLength: 600
              required:
                - action
      responses:
        '200':
          description: >-
            Done, or a job started for work that runs longer (follow it with
            get_jobs).
          content:
            application/json:
              schema:
                type: object
                required:
                  - ok
                  - data
                  - meta
                properties:
                  ok:
                    const: true
                  data:
                    type: object
                    additionalProperties: true
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                      cost:
                        $ref: '#/components/schemas/Cost'
                      cloud_processing:
                        $ref: '#/components/schemas/CloudProcessing'
                  media:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
      description: >-
        Retry a paid dispatch safely: the same key returns the job already
        dispatched instead of charging again.
    WorkspaceId:
      name: x-workspace-id
      in: header
      required: false
      schema:
        type: string
      description: >-
        The workspace this one call acts in, when it is not the default: for a
        key or a connected agent, one of the workspaces the user allowed it.
  schemas:
    Cost:
      type: object
      description: AI credits the call cost.
      additionalProperties: true
    CloudProcessing:
      type: object
      description: >-
        Cloud processing for this call. minutes is the estimate. charged_minutes
        is what work that finished inside the call was charged; work still
        running or queued is charged when it finishes, and get_jobs reports it
        as cloud_minutes. month_left_minutes is the month after held_minutes,
        which running work holds until it settles, with bought_minutes apart.
      properties:
        ran_on:
          const: cloud
        minutes:
          type: number
        charged_minutes:
          type: number
        queued_minutes:
          type: number
        month_left_minutes:
          type: number
        held_minutes:
          type: number
        bought_minutes:
          type: number
        note:
          type: string
    Error:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          const: false
        error:
          type: object
          required:
            - code
            - message
            - retryable
          properties:
            code:
              type: string
            message:
              type: string
              description: What went wrong, in words to act on.
            retryable:
              type: boolean
            suggested_action:
              type: string
              description: The next step that works.
            cloud_processing:
              $ref: '#/components/schemas/CloudProcessing'
  responses:
    Error:
      description: The call was refused or failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API key (es_live_…) from Settings, under API keys, or an OAuth access
        token.

````

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