SocialBu Accounts API

Manage your social accounts

GitHub OpenAPI

Operations 6

GET /accounts Get social accounts #
POST /accounts Connect a new social account #
GET /accounts/{accountId} Get social account by ID #
PATCH /accounts/{accountId} Update the social account #
DELETE /accounts/{accountId} Deletes the social account #
POST /accounts/bulk_delete Delete multiple social accounts #

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/socialbu-com:socialbu-com-accounts-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

socialbu-com-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Socialbu Com Accounts API
  version: 1.0.0
  contact:
    email: support@socialbu.com
  termsOfService: https://socialbu.com/about/terms
  description: 'Operations tagged Accounts across 2 of this provider''s published API definitions: socialbu-com-openapi-openapi.yml, socialbu-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: SocialBu API
  url: https://socialbu.com/api/v1
security:
- bearerAuth: []
tags:
- name: Accounts
  description: Manage your social accounts
paths:
  /accounts:
    get:
      tags:
      - Accounts
      summary: Get social accounts
      operationId: getAccounts
      responses:
        '200':
          description: Social accounts
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    description: User's social media accounts.
                  currentPage:
                    type: integer
                    description: The current page number of the paginated results.
                  lastPage:
                    type: integer
                    description: The last page number of the paginated results.
                  nextPage:
                    type: integer
                    description: The next page number, or null if this is the last page.
                  total:
                    type: integer
                    description: Total number of results.
        '422':
          description: The given data was invalid.
      parameters:
      - name: type
        in: query
        description: The type of accounts you want to fetch.
        schema:
          type: array
          items:
            type: string
            enum:
            - all
            - user
            - shared
            default: all
    post:
      tags:
      - Accounts
      summary: Connect a new social account
      operationId: connectAccount
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - provider
              properties:
                provider:
                  type: string
                  description: Social media network name e.g, (Instagram, Twitter etc.)
                postback_url:
                  type: string
                  description: Receive postback at this URL. Sends a JSON POST request with parameters `account_action` (added, updated, connected, disconnected), `account_id`, `account_type`, and `account_name`. The `account_action` is `disconnected` if an account is found disconnected by the system, `connected` if a previously disconnected account is reconnected by the system automatically, `added` when a new account is added/connected for the first time, and `updated` when an existing account is reconnected.
                account_id:
                  type: string
                  description: Social account id if reconnecting an existing account.
      responses:
        '400':
          description: The provider is not supported
        '200':
          description: You get the URL for connecting social accounts. Recommended to open it in a popup.
          content:
            application/json:
              schema:
                type: object
                properties:
                  connect_url:
                    type: string
                    format: uri
                    description: URL that you can visit to add your accounts
    servers:
    - description: SocialBu API
      url: https://socialbu.com/api/v1
  /accounts/{accountId}:
    get:
      tags:
      - Accounts
      summary: Get social account by ID
      description: Returns a single account
      operationId: getAccount
      parameters:
      - name: accountId
        in: path
        description: Social account id.
        required: true
        schema:
          type: integer
      responses:
        '404':
          description: Resource not found
        '200':
          description: Social account found
          content:
            application/json:
              schema:
                type: object
                description: Object containing all the details of the social account.
    patch:
      tags:
      - Accounts
      summary: Update the social account
      operationId: updateAccount
      parameters:
      - name: accountId
        in: path
        description: Social account id.
        required: true
        schema:
          type: integer
      responses:
        '404':
          description: The resource not found
        '422':
          description: The given data was invalid.
        '200':
          description: Social account updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Message indicating the social account was updated successfully.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: New name for the connected social account.
    delete:
      tags:
      - Accounts
      summary: Deletes the social account
      operationId: deleteAccount
      parameters:
      - name: accountId
        in: path
        description: Account id to delete
        required: true
        schema:
          type: integer
      responses:
        '404':
          description: Resource not found
        '200':
          description: Account deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Message indicating the social account was deleted successfully.
    servers:
    - description: SocialBu API
      url: https://socialbu.com/api/v1
  /accounts/bulk_delete:
    post:
      tags:
      - Accounts
      summary: Delete multiple social accounts
      description: Deletes multiple owned social accounts by ID in one request. Unlike other bulk-delete endpoints, this is not all-or-nothing - an ID that doesn't exist or isn't owned by the caller (e.g. an account shared with you through a team) is reported in `skipped` instead of failing the whole request.
      operationId: bulkDeleteAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - ids
              properties:
                ids:
                  type: array
                  description: IDs of accounts to delete (at most 100 per request).
                  minItems: 1
                  maxItems: 100
                  items:
                    type: integer
      responses:
        '200':
          description: Request processed. Check `deleted`/`skipped` for the per-account outcome.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: array
                    description: IDs of accounts that were deleted.
                    items:
                      type: integer
                  skipped:
                    type: array
                    description: Accounts that were not deleted, with why.
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        reason:
                          type: string
                          enum:
                          - not_found_or_not_owned
                          - delete_failed
        '422':
          description: The given data was invalid.
    servers:
    - description: SocialBu API
      url: https://socialbu.com/api/v1
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- socialbu-com-openapi-openapi.yml
- socialbu-com-openapi.yml