Socialync Posts API

The Posts API from Socialync — 3 operation(s) for posts.

GitHub OpenAPI

Operations 6

POST /posts/validate Check a post without creating anything #
POST /posts Publish now, or schedule #
GET /posts Scheduled posts and history #
GET /posts/{id} One post #
PATCH /posts/{id} Change a scheduled post #
DELETE /posts/{id} Cancel a scheduled post #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/socialync-io:socialync-io-posts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

socialync-io-posts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Socialync Posts API
  version: 1.0.0
  summary: Publish, schedule and read social posts from your own code.
  description: 'The same publishing engine as the Socialync MCP server, over plain JSON. Your API key is the one from https://www.socialync.io/api-keys. Rate limit: 60 requests per minute per key (429 with Retry-After). List endpoints return 20 items by default and at most 100. Browsers cannot call this API (no CORS headers). Keep keys on servers and in CI secrets.'
servers:
- url: https://mcp.socialync.io/v1
security:
- bearerAuth: []
tags:
- name: Posts
paths:
  /posts/validate:
    post:
      operationId: validatePost
      summary: Check a post without creating anything
      description: 'Runs the same checks a publish runs: caption length, media type and size, aspect ratio, video length, connection health. Nothing is created and no daily slot is used.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostCreate'
      responses:
        '200':
          description: Errors and warnings.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResult'
        '400':
          description: The request is not valid. error.code is invalid_request, invalid_json or payload_too_large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The plan or the API key does not allow this.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The request is well formed but the post cannot be made as asked. error.message says why.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
  /posts:
    post:
      operationId: createPost
      summary: Publish now, or schedule
      description: 'Without scheduledAt the post publishes immediately to facebook, instagram, linkedin, twitter, threads or bluesky, with text and up to 10 images. With scheduledAt (ISO 8601, at least a few minutes ahead, within the plan window) it is queued, and tiktok, youtube and video become available. This is your own automation publishing with your own key, so there is no confirmation step; use POST /v1/drafts to hold a post for a person to approve. If the account has the publish confirmation setting on, this endpoint answers 403 direct_publish_disabled, and so does approving a draft: turn the setting off to publish through the API. Creating a draft stays allowed. Plan limits, the monthly allowance, the daily cap per profile and platform rules are the same as for the MCP server. Partial success returns 207 with results per platform.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostCreate'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: 'A unique string (1 to 255 characters: letters, digits, _ . : -). Repeating a request with the same key and the same body returns the first response instead of doing the work again, for 24 hours. The same key with a different body is 422 idempotency_key_reuse. A refused request (4xx) frees the key, so it can be corrected and retried with the same key. A request that ends in 500 or 504 may still have completed, so the key keeps returning that answer: check GET /v1/posts, then use a new key. If a request started and its result could not be recorded, the key answers 409 idempotency_outcome_unknown until it expires and the request is not run again with it.'
        schema:
          type: string
          pattern: ^[A-Za-z0-9_.:-]{1,255}$
      responses:
        '200':
          description: 'An identical publish from a few minutes ago was returned instead of posting again (duplicate: true).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostResult'
        '201':
          description: Published or scheduled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostResult'
        '207':
          description: Some platforms published and some did not.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostResult'
        '400':
          description: The request is not valid. error.code is invalid_request, invalid_json or payload_too_large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The plan or the API key does not allow this.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The request conflicts with the current state, or an identical request is still running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The request is well formed but the post cannot be made as asked. error.message says why.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: No platform accepted the post.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '504':
          description: The request timed out and may still have completed. Check before retrying.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
    get:
      operationId: listPosts
      summary: Scheduled posts and history
      description: 'view=scheduled (default): scheduled entries, failures from the last 14 days and posts published in the last 2 days, one row per platform. view=history: multi platform posts with the outcome per platform, the latest 100. Only profiles this key can use are returned.'
      parameters:
      - name: view
        in: query
        required: false
        schema:
          type: string
          enum:
          - scheduled
          - history
          default: scheduled
      - name: status
        in: query
        required: false
        schema:
          type: string
          minLength: 1
          maxLength: 40
      - name: profileId
        in: query
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          minLength: 1
          maxLength: 200
      responses:
        '200':
          description: A page of posts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostList'
        '400':
          description: The request is not valid. error.code is invalid_request, invalid_json or payload_too_large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The plan or the API key does not allow this.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
  /posts/{id}:
    get:
      operationId: getPost
      summary: One post
      description: The id is a scheduled post id or its groupId, a history id, or the id of a post that was published right away.
      parameters:
      - name: id
        in: path
        required: true
        description: A post id.
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      responses:
        '200':
          description: The post.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostDetail'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource on a profile this key can use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
    patch:
      operationId: updatePost
      summary: Change a scheduled post
      description: Time, caption (everywhere or per platform), YouTube title, first comment, or drop platforms. Only entries that have not published and are not about to. A groupId changes every platform of the post together. Moving the post to another UTC day moves its daily slot and is refused if that day is full.
      parameters:
      - name: id
        in: path
        required: true
        description: A scheduled post id or groupId.
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPatch'
      responses:
        '200':
          description: Changed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EditResult'
        '207':
          description: Some entries changed and some did not.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EditResult'
        '400':
          description: The request is not valid. error.code is invalid_request, invalid_json or payload_too_large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource on a profile this key can use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The request conflicts with the current state, or an identical request is still running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The request is well formed but the post cannot be made as asked. error.message says why.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
    delete:
      operationId: cancelPost
      summary: Cancel a scheduled post
      description: Cancels a post that has not published. A groupId cancels every platform of the post. Cancelled posts give their daily slot back.
      parameters:
      - name: id
        in: path
        required: true
        description: A scheduled post id or groupId.
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      responses:
        '200':
          description: Cancelled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelResult'
        '207':
          description: Some entries cancelled and some could not be.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelResult'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource on a profile this key can use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The request conflicts with the current state, or an identical request is still running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Posts
components:
  schemas:
    PostDetail:
      type: object
      required:
      - kind
      description: A scheduled post (one entry, or every entry of a group under posts), a history entry, or a published draft.
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
          - scheduled
          - history
          - draft
        posts:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledPost'
      additionalProperties: true
    PostCreate:
      type: object
      properties:
        platforms:
          type: array
          items:
            type: string
            enum:
            - facebook
            - instagram
            - tiktok
            - youtube
            - linkedin
            - twitter
            - threads
            - bluesky
          minItems: 1
          maxItems: 8
        caption:
          type: string
          minLength: 1
          maxLength: 50000
        scheduledAt:
          type: string
          format: date-time
        title:
          type: string
          minLength: 1
          maxLength: 200
        mediaId:
          type: string
          pattern: ^upload:[A-Za-z0-9_-]{1,128}$
        imageUrls:
          type: array
          items:
            type: string
            format: uri
            maxLength: 2048
            pattern: ^https:\/\/
          minItems: 1
          maxItems: 10
        videoUrl:
          type: string
          format: uri
          maxLength: 2048
          pattern: ^https:\/\/
        firstComment:
          type: string
          minLength: 1
          maxLength: 2200
        platformSpecificSettings:
          type: object
          additionalProperties: {}
        instagramTrialReel:
          type: string
          enum:
          - MANUAL
          - AUTO
        tiktokPrivacyLevel:
          type: string
          enum:
          - PUBLIC_TO_EVERYONE
          - MUTUAL_FOLLOW_FRIENDS
          - FOLLOWER_OF_CREATOR
          - SELF_ONLY
        profileId:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      required:
      - platforms
      - caption
      additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - docs
          properties:
            code:
              type: string
              description: Stable. Switch on this. The message can change.
            message:
              type: string
              description: For people. May change.
            docs:
              type: string
              format: uri
            details:
              description: 'Extra structure for some errors: validation issues, per platform results, skipped entries.'
    EditResult:
      type: object
      properties:
        id:
          type: string
        scheduledAt:
          type: string
          format: date-time
        updated:
          type: array
          items:
            type: object
            additionalProperties: true
        removed:
          type: array
          items:
            type: object
            additionalProperties: true
        failed:
          type: array
          items:
            type: object
            additionalProperties: true
        skipped:
          type: array
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
    PostPatch:
      type: object
      properties:
        scheduledAt:
          type: string
          format: date-time
        caption:
          type: string
          minLength: 1
          maxLength: 50000
        platformCaptions:
          type: object
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 50000
          propertyNames:
            enum:
            - facebook
            - instagram
            - tiktok
            - youtube
            - linkedin
            - twitter
            - threads
            - bluesky
        title:
          type: string
          minLength: 1
          maxLength: 200
        firstComment:
          type: string
          maxLength: 2200
        removePlatforms:
          type: array
          items:
            type: string
            enum:
            - facebook
            - instagram
            - tiktok
            - youtube
            - linkedin
            - twitter
            - threads
            - bluesky
          minItems: 1
      additionalProperties: false
    CancelResult:
      type: object
      properties:
        id:
          type: string
        cancelledCount:
          type: integer
        cancelledIds:
          type: array
          items:
            type: string
        skipped:
          type: array
          items:
            type: object
            additionalProperties: true
    HistoryEntry:
      type: object
      description: A multi platform post and the outcome per platform.
      required:
      - id
      properties:
        id:
          type: string
        groupId:
          type: string
        profileId:
          type: string
        overallStatus:
          type: string
          enum:
          - pending
          - partial_success
          - all_success
          - all_failed
          - cancelled
        platforms:
          type: object
          additionalProperties: true
      additionalProperties: true
    PostList:
      type: object
      required:
      - data
      - nextCursor
      - hasMore
      properties:
        data:
          type: array
          items:
            oneOf:
            - $ref: '#/components/schemas/ScheduledPost'
            - $ref: '#/components/schemas/HistoryEntry'
        nextCursor:
          type:
          - string
          - 'null'
          description: Pass as cursor to get the next page. Null on the last page.
        hasMore:
          type: boolean
    ValidationResult:
      type: object
      additionalProperties: true
      description: Errors are guaranteed publish failures; warnings publish degraded.
    ScheduledPost:
      type: object
      description: One platform entry of a scheduled post. caption is cut to 100 characters in listings.
      required:
      - id
      - platform
      - status
      properties:
        id:
          type: string
        groupId:
          type: string
        profileId:
          type: string
        platform:
          type: string
          enum:
          - facebook
          - instagram
          - tiktok
          - youtube
          - linkedin
          - twitter
          - threads
          - bluesky
        caption:
          type: string
        title:
          type: string
        status:
          type: string
          description: pending, held, failed, posted and similar.
        scheduledAt:
          type: string
          format: date-time
        mediaType:
          type: string
        error:
          type: object
          additionalProperties: true
          description: 'On a failed entry: code, plain message, action, retryable.'
      additionalProperties: true
    PlatformResult:
      type: object
      properties:
        platform:
          type: string
        success:
          type: boolean
        postId:
          type: string
        postUrl:
          type: string
        error:
          type: string
    PostResult:
      type: object
      required:
      - id
      - status
      description: An immediate publish returns status published or partial with per platform results. A scheduled post returns status scheduled, its id (the groupId when it goes to several platforms) and scheduledPostIds. Other fields from the publish pipeline, such as dailyDraftsRemaining, are passed through.
      properties:
        id:
          type: string
          description: Use this id with GET, PATCH and DELETE /v1/posts/{id}.
        groupId:
          type: string
        status:
          type: string
          enum:
          - published
          - partial
          - scheduled
        draftId:
          type: string
        profileId:
          type: string
        profileName:
          type: string
        scheduledAt:
          type: string
          format: date-time
        scheduledPostIds:
          type: array
          items:
            type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/PlatformResult'
        duplicate:
          type: boolean
          description: True when an identical publish a few minutes ago was returned instead of posting again.
        dailyDraftsRemaining:
          type: integer
          description: Posts left today on this profile.
        dailyDraftsLimit:
          type: integer
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer sk_live_... An API key from the API keys page. OAuth tokens are not accepted here.'