XPlanner API

XPlanner API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-29); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 25

GET /accounts List permitted Social Accounts #
GET /folders Use GET /folders for the folder list. #
POST /folders The new folder requires POST /folders + folders:create. #
POST /ideas/{id}/convert-to-post Turn the idea into a post POST /ideas/{id}/convert-to-post produces new post in draft_unscheduled state, preserving the idea. #
GET /me Returns the current API key, its Workspace and Social Set access, its permissions and current rate-limit status. #
POST /media-assets Creates a media asset after the file has been uploaded to storage. #
POST /media-assets/upload-url Generates a short‑lived upload URL for external tools to upload files directly to storage. #
GET /platforms List permitted Social Accounts #
POST /posts Create Draft Post, Create Scheduled Post, or Publish Now depending on the mode field. #
GET /posts/{id} Read a unique post. #
PATCH /posts/{id} Update an existing post. #
POST /posts/{id}/cancel Cancel a scheduled post. #
POST /posts/{id}/publish Put a post into the publication queue. #
GET /social-sets Social Set Get socialSetId from GET /social-sets; include workspaceId if you need a Workspace check. #
GET /usage Returns usage metrics based on the current subscription, period, and allowlist scope of the API key. #
GET /v1/accounts GET /v1/accounts #
POST /v1/ideas POST /v1/ideas #
GET /v1/me Verify first request with /me endpoint. #
POST /v1/me POST /v1/me #
POST /v1/media-assets/upload-url POST /v1/media-assets/upload-url #
GET /v1/posts GET /v1/posts #
POST /v1/posts POST /v1/posts #
GET /v1/social-sets Your first post #
POST /v1/social-sets POST /v1/social-sets #
GET /v1/usage GET /v1/usage #

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/xplanner-co:xplanner-co-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

xplanner-co-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: XPlanner API
  version: '2026-11-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 25 operation(s) read from 13 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; XPlanner has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 8
    documentation: 17
    pages-with-code: 13
    pages-read: 13
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://xplanner.co/en/docs/api/v1/ideas
  - https://xplanner.co/en/docs/api/v1/media
  - https://xplanner.co/en/docs/api/v1/examples
  - https://xplanner.co/en/docs/api/v1/pagination
  - https://xplanner.co/en/docs/api/v1/quick-start
  - https://xplanner.co/en/docs/api/v1/reference/me
  - https://xplanner.co/en/docs/api/v1/quick-start.md
  - https://xplanner.co/en/docs/api/v1/reference/usage
  - https://xplanner.co/en/docs/api/v1/your-first-post
  - https://xplanner.co/en/docs/api/v1/posts-scheduling
  - https://xplanner.co/en/docs/api/v1/examples/get-posts
  - https://xplanner.co/en/docs/api/v1/examples/get-usage
  - https://xplanner.co/en/docs/api/v1/reference/accounts
servers:
- url: https://api.xplanner.co
paths:
  /accounts:
    get:
      operationId: get_accounts
      tags:
      - Accounts
      summary: List permitted Social Accounts
      description: Lists permitted Social Accounts within the API key’s Workspace and Social Set access.
      x-source: https://xplanner.co/en/docs/api/v1/reference/accounts
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'API key. Format: Bearer xpl_live_...'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccountsResponse'
      x-evidence:
        kind: documentation
  /folders:
    get:
      operationId: get_folders
      tags:
      - Folders
      summary: Use GET /folders for the folder list.
      x-source: https://xplanner.co/en/docs/api/v1/ideas
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_folders
      tags:
      - Folders
      summary: The new folder requires POST /folders + folders:create.
      x-source: https://xplanner.co/en/docs/api/v1/ideas
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /ideas/{id}/convert-to-post:
    post:
      operationId: post_ideas_id_convert_to_post
      tags:
      - Ideas
      summary: Turn the idea into a post POST /ideas/{id}/convert-to-post produces new post in draft_unscheduled state, preserving the idea.
      x-source: https://xplanner.co/en/docs/api/v1/ideas
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /me:
    get:
      operationId: get_me
      tags:
      - Me
      summary: Returns the current API key, its Workspace and Social Set access, its permissions and current rate-limit status.
      x-source: https://xplanner.co/en/docs/api/v1/reference/me
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'API key. Format: Bearer xpl_live_...'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMeResponse'
      x-evidence:
        kind: documentation
  /media-assets:
    post:
      operationId: post_media_assets
      tags:
      - Media Assets
      summary: Creates a media asset after the file has been uploaded to storage.
      description: Signed upload URL, media registration and media consumption flow in post/idea.
      x-source: https://xplanner.co/en/docs/api/v1/media
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMediaAssetsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /media-assets/upload-url:
    post:
      operationId: post_media_assets_upload_url
      tags:
      - Media Assets
      summary: Generates a short‑lived upload URL for external tools to upload files directly to storage.
      description: Signed upload URL, media registration and media consumption flow in post/idea.
      x-source: https://xplanner.co/en/docs/api/v1/media
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMediaAssetsUploadUrlRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /platforms:
    get:
      operationId: get_platforms
      tags:
      - Platforms
      summary: List permitted Social Accounts
      description: Lists connected accounts within the API key’s Workspace and Social Set access without credentials.
      x-source: https://xplanner.co/en/docs/api/v1/reference/accounts
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'API key. Format: Bearer xpl_live_...'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPlatformsResponse'
      x-evidence:
        kind: documentation
  /posts:
    post:
      operationId: post_posts
      tags:
      - Posts
      summary: Create Draft Post, Create Scheduled Post, or Publish Now depending on the mode field.
      x-source: https://xplanner.co/en/docs/api/v1/posts-scheduling
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPostsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /posts/{id}:
    get:
      operationId: get_posts_id
      tags:
      - Posts
      summary: Read a unique post.
      x-source: https://xplanner.co/en/docs/api/v1/posts-scheduling
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_posts_id
      tags:
      - Posts
      summary: Update an existing post.
      x-source: https://xplanner.co/en/docs/api/v1/posts-scheduling
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchPostsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /posts/{id}/cancel:
    post:
      operationId: post_posts_id_cancel
      tags:
      - Posts
      summary: Cancel a scheduled post.
      x-source: https://xplanner.co/en/docs/api/v1/posts-scheduling
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /posts/{id}/publish:
    post:
      operationId: post_posts_id_publish
      tags:
      - Posts
      summary: Put a post into the publication queue.
      x-source: https://xplanner.co/en/docs/api/v1/posts-scheduling
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /social-sets:
    get:
      operationId: get_social_sets
      tags:
      - Social Sets
      summary: Social Set Get socialSetId from GET /social-sets; include workspaceId if you need a Workspace check.
      x-source: https://xplanner.co/en/docs/api/v1/examples/get-posts
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /usage:
    get:
      operationId: get_usage
      tags:
      - Usage
      summary: Returns usage metrics based on the current subscription, period, and allowlist scope of the API key.
      x-source: https://xplanner.co/en/docs/api/v1/reference/usage
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'API key. Format: Bearer xpl_live_...'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUsageResponse'
      x-evidence:
        kind: documentation
  /v1/accounts:
    get:
      operationId: get_v1_accounts
      tags:
      - Accounts
      summary: GET /v1/accounts
      x-source: https://xplanner.co/en/docs/api/v1/reference/accounts
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl https://api.xplanner.co/v1/accounts \ -H "Authorization: Bearer $XPLANNER_API_KEY" Cevap { "data" : [ { "id" : "social_x_123"
          , "workspaceId" : "wrk_123" , "socialSetId" : "set_123" , "platform" : "x" , "accountType" : "profile" , "connectionMethod" : "oauth"
          , "platformAccountId" : "123456789" , "username" : "xplanner" , "displayName" : "XPlanner" , "connectionStatus" : "active" , "isPr'
  /v1/ideas:
    post:
      operationId: post_v1_ideas
      tags:
      - Ideas
      summary: POST /v1/ideas
      x-source: https://xplanner.co/en/docs/api/v1/ideas
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://api.xplanner.co/v1/ideas \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Content-Type: application/json"
          \ -H "Idempotency-Key: idea-001" \ -d '' { "socialSetId" : "set_123" , "title" : "Haftalık ürün notu" , "content" : "API anahtarı yönetimini
          anlatan kısa X gönderisi." , "folderId" : "folder_123" } '' Link to folder folderId is optional; If submitted, the idea appears in'
  /v1/me:
    get:
      operationId: get_v1_me
      tags:
      - Me
      summary: Verify first request with /me endpoint.
      description: 'curl https://api.xplanner.co/v1/me -H "Authorization: Bearer $XPLANNER_API_KEY"'
      x-source: https://xplanner.co/en/docs/api/v1/quick-start
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_me
      tags:
      - Me
      summary: POST /v1/me
      x-source: https://xplanner.co/en/docs/api/v1/quick-start
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl export XPLANNER_API_KEY= "xpl_live_..." curl https://api.xplanner.co/v1/me \ -H "Authorization: Bearer $XPLANNER_API_KEY"
          Send first draft request With posts:create, you can create a draft in XPlanner. Create draft curl -X POST https://api.xplanner.co/v1/posts
          \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: post-draft-001" \ -d ''
          { "'
  /v1/media-assets/upload-url:
    post:
      operationId: post_v1_media_assets_upload_url
      tags:
      - Media Assets
      summary: POST /v1/media-assets/upload-url
      x-source: https://xplanner.co/en/docs/api/v1/media
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://api.xplanner.co/v1/media-assets/upload-url \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Content-Type:
          application/json" \ -H "Idempotency-Key: media-upload-url-001" \ -d '' { "socialSetId" : "set_123" , "fileName" : "launch.png" , "mimeType"
          : "image/png" } '' Upload edilen objeyi asset olarak kaydet After the file is uploaded to storage, media assets are created with PO'
  /v1/posts:
    get:
      operationId: get_v1_posts
      tags:
      - Posts
      summary: GET /v1/posts
      x-source: https://xplanner.co/en/docs/api/v1/pagination
      parameters:
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl "https://api.xplanner.co/v1/posts?limit=20&cursor=eyJjcmVhdGVkQXQiOiIyMDI2LTA1LTEzIn0" \ -H "Authorization: Bearer
          $XPLANNER_API_KEY" List answer data records, pagination carries the next page information. List answer { "data" : [ ] , "pagination"
          : { "nextCursor" : "eyJjcmVhdGVkQXQiOiIyMDI2LTA1LTEzVDEyOjAwOjAwLjAwMFoifQ" } , "requestId" : "req_123" } Previous Rate limits On this
          page Cu'
    post:
      operationId: post_v1_posts
      tags:
      - Posts
      summary: POST /v1/posts
      x-source: https://xplanner.co/en/docs/api/v1/examples
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://api.xplanner.co/v1/posts \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Content-Type: application/json"
          \ -H "Idempotency-Key: post-draft-001" \ -d '' { "workspaceId" : "wrk_123" , "socialSetId" : "set_123" , "mode" : "draft" , "title"
          : "Launch notu" , "text" : "XPlanner API ile ilk çoklu platform taslağı hazır." , "publishTargets" : [ { "socialAccountId" : "social_x_123'
  /v1/social-sets:
    get:
      operationId: get_v1_social_sets
      tags:
      - Social Sets
      summary: Your first post
      description: Read the available sets and their X, LinkedIn, and Threads accounts
      x-source: https://xplanner.co/en/docs/api/v1/your-first-post
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_social_sets
      tags:
      - Social Sets
      summary: POST /v1/social-sets
      x-source: https://xplanner.co/en/docs/api/v1/your-first-post
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl https://api.xplanner.co/v1/social-sets \ -H "Authorization: Bearer $XPLANNER_API_KEY" Create post request Specify
          each platform target explicitly using workspaceId, socialSetId and publishTargets. Create draft curl -X POST https://api.xplanner.co/v1/posts
          \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: post-draft-001" \ -d ''
          { "'
  /v1/usage:
    get:
      operationId: get_v1_usage
      tags:
      - Usage
      summary: GET /v1/usage
      x-source: https://xplanner.co/en/docs/api/v1/reference/usage
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl https://api.xplanner.co/v1/usage \ -H "Authorization: Bearer $XPLANNER_API_KEY" Cevap { "data" : { "billing" : { "accessStatus"
          : "active" , "currentPeriodStart" : "2026-05-01T00:00:00.000Z" , "currentPeriodEnd" : "2026-06-01T00:00:00.000Z" , "plan" : { "id" :
          "plan_pro" , "key" : "pro" , "displayName" : "Pro" } } , "usage" : { "accounts" : { "used" : 2 , "limit" : 5 , "remaining" : 3 } '
components:
  schemas:
    GetAccountsResponse:
      type: object
      properties:
        data:
          type: array
          description: Array of account objects
        id:
          type: string
          description: Account identifier
        workspaceId:
          type: string
          description: Workspace identifier
        socialSetId:
          type: string
          description: Social Set identifier
        platform:
          type: string
          description: Platform name
        accountType:
          type: string
          description: Type of account (e.g., profile)
        connectionMethod:
          type: string
          description: Method used for connection
        platformAccountId:
          type: string
          description: Platform specific account ID
        username:
          type: string
          description: Username on the platform
        displayName:
          type: string
          description: Display name of the account
        connectionStatus:
          type: string
          description: Current connection status
        isPrimary:
          type: boolean
          description: Whether this is the primary account
        authVersion:
          type: string
          description: Authentication version
        bio:
          type: string
          description: Account biography
        profileImageUrl:
          type: string
          description: URL of the profile image
        followersCount:
          type: integer
          description: Number of followers
        followingCount:
          type: integer
          description: Number of accounts followed
        postCount:
          type: integer
          description: Number of posts
        verified:
          type: boolean
          description: Verification status
        verifiedType:
          type: string
          description: Type of verification
        lastProfileSyncAt:
          type: string
          description: Timestamp of last profile sync
        createdAt:
          type: string
          description: Creation timestamp
        updatedAt:
          type: string
          description: Last update timestamp
        requestId:
          type: string
          description: Request identifier
    GetMeResponse:
      type: object
      properties:
        data.apiKey.id:
          type: string
        data.apiKey.name:
          type: string
        data.apiKey.publicId:
          type: string
        data.apiKey.lastFour:
          type: string
        data.apiKey.scopes:
          type: array
        data.apiKey.workspaceAccess:
          type: string
        data.apiKey.socialSetAccess:
          type: string
        data.apiKey.workspaceId:
          type: string
        data.apiKey.workspaceIds:
          type: array
        data.apiKey.socialSetIds:
          type: array
        data.apiKey.allowedIps:
          type: array
        data.apiKey.createdAt:
          type: string
        data.apiKey.updatedAt:
          type: string
        data.apiKey.expiresAt:
          type: string
        data.apiKey.lastUsedAt:
          type: string
        data.apiKey.revokedAt:
          type: string
        data.apiKey.rotatedAt:
          type: string
        data.workspaceAccess:
          type: string
        data.workspaceId:
          type: string
        data.workspaceIds:
          type: array
        data.rateLimit.limit:
          type: integer
        data.rateLimit.remaining:
          type: integer
        data.rateLimit.reset:
          type: integer
        requestId:
          type: string
    PostMediaAssetsRequest:
      type: object
      properties:
        bucketId:
          type: string
        objectPath:
          type: string
      required:
      - bucketId
      - objectPath
    PostMediaAssetsUploadUrlRequest:
      type: object
      properties:
        socialSetId:
          type: string
        fileName:
          type: string
        mimeType:
          type: string
      required:
      - socialSetId
      - fileName
      - mimeType
    GetPlatformsResponse:
      type: object
      properties:
        data:
          type: array
          description: Permitted Social Accounts
        requestId:
          type: string
          description: Request identifier
    PostPostsRequest:
      type: object
      properties:
        workspaceId:
          type: string
        socialSetId:
          type: string
        mode:
          type: string
          description: draft, scheduled, or publish_now
        scheduledAt:
          type: string
          description: UTC ISO‑8601 timestamp, required when mode is scheduled
        text:
          type: string
        publishTargets:
          type: array
          description: List of target objects with socialAccountId and platform
      required:
      - workspaceId
      - socialSetId
      - mode
    PatchPostsIdRequest:
      type: object
      properties:
        text:
          type: string
        scheduledAt:
          type: string
          description: UTC ISO‑8601 timestamp
        publishTargets:
          type: array
          description: Updated list of publish target objects
    GetUsageResponse:
      type: object
      properties:
        data.billing:
          type: object
          description: Billing information.
        data.usage:
          type: object
          description: Usage metrics.
        data.rateLimit:
          type: object
          description: Rate limit summary.
        requestId:
          type: string
          description: Request identifier.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Accounts
- name: Folders
- name: Ideas
- name: Me
- name: Media Assets
- name: Platforms
- name: Posts
- name: Social Sets
- name: Usage