ShapelessAI Connections API

The Connections API from ShapelessAI — 4 operation(s) for connections.

GitHub OpenAPI

Operations 12

GET /api/connections/tracked GET /api/connections/tracked read #
POST /api/connections/tracked Track an account by handle, no OAuth, never a publish target: {platform… #
POST /api/connections/{id} POST /api/connections/{id} write #
PATCH /api/connections/{id} Move an account into a group: {groupId} or null for ungrouped #
PATCH /api/connections/{id}/tiktok-creator-info PATCH /api/connections/{id}/tiktok-creator-info write #
GET /api/connections/{id}/tiktok-creator-info TikTok's creator info for that connection: privacy levels, limits. #
GET /api/connections Connected social accounts (identity only, never tokens) #
DELETE /api/connections Disconnect an account (?id=). #
GET /api/connections/{id}/queue The account's queue: posting slots, timezone, and the next free slot #
PATCH /api/connections/{id}/queue Set the posting slots and timezone #

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/shapelessai:shapelessai-connections-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

shapelessai-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shapelessai Connections API
  x-refined-note:
  - x-authored-by differs across the merged source definitions and was not carried
  - x-engine differs across the merged source definitions and was not carried
  - x-evidence-tiers differs across the merged source definitions and was not carried
  - x-generated differs across the merged source definitions and was not carried
  - x-generated-from differs across the merged source definitions and was not carried
  - x-generator differs across the merged source definitions and was not carried
  - x-provenance differs across the merged source definitions and was not carried
  - x-sources differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Connections across 2 of this provider''s published API definitions: shapelessai-openapi-generated.yml, shapelessai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://shapelessai.com
tags:
- name: Connections
paths:
  /api/connections/link:
    delete:
      operationId: delete_api_connections_link
      tags:
      - Connections
      summary: DELETE /api/connections/link write {platform} -> the one URL the human opens to…
      x-source: https://shapelessai.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    post:
      summary: 'The one URL the human opens to connect a social account: {platform}.'
      operationId: postConnectionsLink
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectLink'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectLinkCreated'
        '400':
          description: 'Not a platform with oauth: true.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "write" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - write
      - oauth:
        - write
      x-scope: write
      x-status: live
      tags:
      - Connections
  /api/connections/tracked:
    get:
      operationId: get_api_connections_tracked
      tags:
      - Connections
      summary: GET /api/connections/tracked read
      x-source: https://shapelessai.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    post:
      summary: 'Track an account by handle, no OAuth, never a publish target: {platform…'
      operationId: postConnectionsTracked
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "write" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - write
      - oauth:
        - write
      x-scope: write
      x-status: live
      tags:
      - Connections
  /api/connections/{id}:
    post:
      operationId: post_api_connections_id
      tags:
      - Connections
      summary: POST /api/connections/{id} write
      x-source: https://shapelessai.com/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    patch:
      summary: 'Move an account into a group: {groupId} or null for ungrouped'
      operationId: patchConnectionsId
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "write" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - write
      - oauth:
        - write
      x-scope: write
      x-status: live
      tags:
      - Connections
  /api/connections/{id}/tiktok-creator-info:
    patch:
      operationId: patch_api_connections_id_tiktok_creator_info
      tags:
      - Connections
      summary: PATCH /api/connections/{id}/tiktok-creator-info write
      x-source: https://shapelessai.com/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    get:
      summary: 'TikTok''s creator info for that connection: privacy levels, limits.'
      operationId: getConnectionsIdTiktokCreatorInfo
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      tags:
      - Connections
  /api/connections:
    get:
      summary: Connected social accounts (identity only, never tokens)
      operationId: getConnections
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionList'
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      tags:
      - Connections
    delete:
      summary: Disconnect an account (?id=).
      operationId: deleteConnections
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "publish" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - publish
      - oauth:
        - publish
      x-scope: publish
      x-status: live
      tags:
      - Connections
    servers:
    - url: https://shapelessai.com
  /api/connections/{id}/queue:
    get:
      summary: 'The account''s queue: posting slots, timezone, and the next free slot'
      operationId: getConnectionsIdQueue
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Queue'
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      tags:
      - Connections
    patch:
      summary: Set the posting slots and timezone
      operationId: patchConnectionsIdQueue
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueueConfig'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Queue'
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "write" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - write
      - oauth:
        - write
      x-scope: write
      x-status: live
      tags:
      - Connections
    servers:
    - url: https://shapelessai.com
components:
  schemas:
    Queue:
      type: object
      properties:
        slots:
          type: array
          items:
            type: string
        timezone:
          type: string
        next:
          type:
          - string
          - 'null'
          format: date-time
          description: The next slot nobody holds.
      required:
      - slots
      - timezone
      - next
    ConnectionList:
      type: object
      properties:
        connections:
          type: array
          items:
            $ref: '#/components/schemas/Connection'
        connect:
          type: array
          items:
            $ref: '#/components/schemas/ConnectLinkCreated'
          description: 'One link per platform with no live account: hand it to the human, they click, the account appears here.'
    QueueConfig:
      type: object
      properties:
        slots:
          type: array
          items:
            type: string
            pattern: ^([01]\d|2[0-3]):[0-5]\d$
          minItems: 1
          maxItems: 12
        timezone:
          type: string
          description: IANA zone the slots are written in.
      required:
      - slots
      - timezone
    ConnectLinkCreated:
      type: object
      properties:
        platform:
          type: string
        url:
          type: string
          format: uri
          description: Hand this to the human; opens in a browser.
        expiresAt:
          type: string
          format: date-time
        open:
          type: string
          description: What to tell the human.
      required:
      - platform
      - url
      - expiresAt
    Connection:
      type: object
      properties:
        id:
          type: string
        platform:
          type: string
        handle:
          type: string
        displayName:
          type:
          - string
          - 'null'
        avatarUrl:
          type:
          - string
          - 'null'
        status:
          type: string
          enum:
          - active
          - expired
        mode:
          type: string
          enum:
          - oauth
          - tracked
          description: tracked = handle only, cannot publish.
        queue:
          $ref: '#/components/schemas/QueueConfig'
        reconnect:
          $ref: '#/components/schemas/ConnectLinkCreated'
          description: 'Expired grants only: the link the human opens to reconnect.'
    ConnectLink:
      type: object
      properties:
        platform:
          type: string
          description: 'A platform id from GET /api/platforms with oauth: true.'
      required:
      - platform
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
    apiKey:
      type: http
      scheme: bearer
      description: slk_... key; scopes read, write, publish.
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://shapelessai.com/api/auth/mcp/authorize
          tokenUrl: https://shapelessai.com/api/auth/mcp/token
          scopes:
            read: Read anything the account holds.
            write: 'Create and edit: jobs, drafts, agents, Brand Memory.'
            publish: Anything that goes out to a platform, or spends.
            wiki: Write to the wiki at /vizipedia as this account, and nothing else. A key with `write` covers it.
x-refined-from:
- shapelessai-openapi-generated.yml
- shapelessai-openapi.json