SocialBu Social Inbox API

Access and manage social inbox conversations.

GitHub OpenAPI

Operations 8

GET /inbox List social inboxes #
GET /inbox/{inboxId} List inbox conversations #
GET /inbox/{inboxId}/{convoId} Get inbox conversation #
GET /inbox/{inboxId}/{convoId}/items List conversation items #
GET /inbox/{inboxId}/{convoId}/items/{itemId}/replies List conversation item replies #
PATCH /inbox/{inboxId}/status Update conversation statuses #
POST /inbox/{inboxId}/{convoId}/{action} Perform a conversation action #
POST /inbox/{inboxId}/{convoId}/items/{itemId}/{action} Perform a conversation item action #

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-social-inbox-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-social-inbox-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This is documentation for the SocialBu API.


    Base URL: `https://socialbu.com/api/v1`


    Pass your API token from the SocialBu dashboard in the `Authorization` header:

    `Authorization: Bearer YOUR_API_TOKEN`


    You can get your API token from **Settings** in your SocialBu dashboard. You can also generate one programmatically by calling `POST /auth/get_token` with your email and password.


    Example GET request: `GET https://socialbu.com/api/v1/accounts`'
  version: 1.0.0
  title: SocialBu Social Inbox API
  termsOfService: https://socialbu.com/about/terms
  contact:
    email: support@socialbu.com
servers:
- description: SocialBu API
  url: https://socialbu.com/api/v1
security:
- bearerAuth: []
tags:
- name: Social Inbox
  description: Access and manage social inbox conversations.
paths:
  /inbox:
    get:
      tags:
      - Social Inbox
      summary: List social inboxes
      description: Returns account and team inboxes available to the authenticated user.
      operationId: getSocialInboxes
      parameters:
      - name: team_id
        in: query
        description: Only return this team's inbox; requires `inbox.manage` in the team. `0` returns the personal inbox (`t_0`), which combines your own accounts; a colleague's account shared through a team stays in that team's inbox. When omitted, your own accounts' inboxes and the inboxes of teams you manage are returned.
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: Inboxes retrieved successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Inbox'
  /inbox/{inboxId}:
    get:
      tags:
      - Social Inbox
      summary: List inbox conversations
      description: Returns paginated conversations for an account or team inbox, or filtered conversation counts grouped by account when count_by_account is true.
      operationId: getSocialInboxConversations
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` for an account inbox, `t_45` for a team inbox, or `t_0` for the personal inbox of your own accounts.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: page
        in: query
        required: false
        description: Page number to return.
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: per_page
        in: query
        required: false
        description: Number of conversations per page, up to 100.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 100
      - name: status
        in: query
        required: false
        description: Filter conversations by status.
        schema:
          type: string
          enum:
          - open
          - pending
          - closed
          - spam
      - name: post_id
        in: query
        required: false
        description: Filter conversations whose external_id matches this platform post ID.
        schema:
          type: string
      - name: assigned_to
        in: query
        required: false
        description: Filter by assignment. Use `mine`, `unassigned`, `assigned`, or a user ID.
        schema:
          type: string
      - name: start
        in: query
        required: false
        description: Include conversations updated on or after this date/time.
        schema:
          type: string
          format: date-time
      - name: end
        in: query
        required: false
        description: Include conversations updated on or before this date/time.
        schema:
          type: string
          format: date-time
      - name: item_types
        in: query
        required: false
        description: Filter conversations containing one or more inbox item types.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: account_types[]
        in: query
        required: false
        description: Filter conversations by one or more connected account types, such as `facebook.page`, `instagram.api`, or `bluesky.profile`.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: unread
        in: query
        required: false
        description: When true, return only conversations containing qualifying unread inbound items.
        schema:
          type: boolean
      - name: count_by_account
        in: query
        required: false
        description: Return conversation counts keyed by account ID instead of a paginated list. Applies the same filters and account permissions; accounts with no matching conversations are omitted.
        schema:
          type: boolean
      - name: q
        in: query
        required: false
        description: Search contact name, username, or item content.
        schema:
          type: string
      responses:
        '200':
          description: Conversations retrieved successfully.
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/InboxPaginatedConversationsResponse'
                - type: object
                  required:
                  - counts
                  properties:
                    counts:
                      type: object
                      additionalProperties:
                        type: integer
                        minimum: 0
        '404':
          description: Inbox not found or not available to the authenticated user.
        '422':
          description: The given data was invalid.
  /inbox/{inboxId}/{convoId}:
    get:
      tags:
      - Social Inbox
      summary: Get inbox conversation
      description: Returns one inbox conversation available to the authenticated user.
      operationId: getSocialInboxConversation
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: convoId
        in: path
        required: true
        description: Conversation ID.
        schema:
          type: integer
      responses:
        '200':
          description: Conversation retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxConversation'
        '404':
          description: Conversation not found or not available to the authenticated user.
  /inbox/{inboxId}/{convoId}/items:
    get:
      tags:
      - Social Inbox
      summary: List conversation items
      description: Returns paginated top-level items for an inbox conversation.
      operationId: getSocialInboxConversationItems
      parameters:
      - name: author_reply_preview
        in: query
        required: false
        description: For Facebook post conversations, include one latest visible reply from the connected Page in each item's children array.
        schema:
          type: boolean
          default: false
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: convoId
        in: path
        required: true
        description: Conversation ID.
        schema:
          type: integer
      - name: page
        in: query
        required: false
        description: Page number to return.
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: per_page
        in: query
        required: false
        description: Number of items per page, up to 100.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: reverse
        in: query
        required: false
        description: When true, return newest items first.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Conversation items retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxPaginatedItemsResponse'
        '404':
          description: Conversation not found or not available to the authenticated user.
  /inbox/{inboxId}/{convoId}/items/{itemId}/replies:
    get:
      tags:
      - Social Inbox
      summary: List conversation item replies
      description: Returns paginated visible replies for a conversation item.
      operationId: getSocialInboxConversationItemReplies
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: convoId
        in: path
        required: true
        description: Conversation ID.
        schema:
          type: integer
      - name: itemId
        in: path
        required: true
        description: Conversation item ID.
        schema:
          type: integer
      - name: page
        in: query
        required: false
        description: Page number to return.
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: per_page
        in: query
        required: false
        description: Number of replies per page, up to 100.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: reverse
        in: query
        required: false
        description: When true, return newest replies first.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Conversation item replies retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxPaginatedItemsResponse'
        '404':
          description: Conversation item not found or not available to the authenticated user.
  /inbox/{inboxId}/status:
    patch:
      tags:
      - Social Inbox
      summary: Update conversation statuses
      description: Updates the status of one or more inbox conversations after validating all requested conversations.
      operationId: updateSocialInboxConversationStatuses
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxStatusUpdateRequest'
      responses:
        '200':
          description: Conversation statuses updated successfully.
        '404':
          description: One or more conversations were not found or not available to the authenticated user.
        '422':
          description: The given data was invalid.
  /inbox/{inboxId}/{convoId}/{action}:
    post:
      tags:
      - Social Inbox
      summary: Perform a conversation action
      description: Performs a network-supported action on a conversation. Supported actions and payload fields depend on the conversation network and type.
      operationId: performSocialInboxConversationAction
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: convoId
        in: path
        required: true
        description: Conversation ID.
        schema:
          type: integer
      - name: action
        in: path
        required: true
        description: Network action to perform. Common examples include `message`, `reply`, `comment`, `vote`, and `react`.
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxActionRequest'
      responses:
        '200':
          description: Action performed successfully.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid conversation or action request.
        '404':
          description: Conversation not found or not available to the authenticated user.
        '422':
          description: The action is not valid for this conversation.
  /inbox/{inboxId}/{convoId}/items/{itemId}/{action}:
    post:
      tags:
      - Social Inbox
      summary: Perform a conversation item action
      description: Performs a network-supported action on a conversation item. Supported actions and payload fields depend on the item network and type.
      operationId: performSocialInboxConversationItemAction
      parameters:
      - name: inboxId
        in: path
        required: true
        description: Inbox identifier, such as `a_123` or `t_45`.
        schema:
          type: string
          pattern: ^[at]_\d+$
      - name: convoId
        in: path
        required: true
        description: Conversation ID.
        schema:
          type: integer
      - name: itemId
        in: path
        required: true
        description: Conversation item ID.
        schema:
          type: integer
      - name: action
        in: path
        required: true
        description: Network action to perform. Common examples include `reply`, `comment`, `vote`, and `react`.
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxActionRequest'
      responses:
        '200':
          description: Action performed successfully.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid item or action request.
        '404':
          description: Conversation item not found or not available to the authenticated user.
        '422':
          description: The action is not valid for this item.
components:
  schemas:
    InboxStatusUpdateRequest:
      type: object
      required:
      - conversation_ids
      - status
      properties:
        conversation_ids:
          type: array
          description: Conversation IDs to update.
          items:
            type: integer
        status:
          type: string
          enum:
          - open
          - closed
          - spam
          - pending
          description: New conversation status.
    Inbox:
      type: object
      properties:
        id:
          type: string
          description: Inbox identifier. Account inboxes use `a_{account_id}` and team inboxes use `t_{team_id}`. `t_0` is the personal inbox, which combines your own accounts.
          example: a_123
        name:
          type: string
          description: Inbox display name.
        type:
          type: string
          enum:
          - account
          - team
          description: Inbox owner type.
        image:
          type:
          - string
          - 'null'
          description: Inbox avatar URL, when available.
        active:
          type: boolean
          description: Whether inbox collection is active.
        active_conversations:
          type: integer
          description: Number of open conversations.
        accounts:
          type: array
          description: Social accounts included in this inbox.
          items:
            type: object
            additionalProperties: true
        members:
          type: array
          description: Team members with inbox access details. Empty for account inboxes.
          items:
            type: object
            additionalProperties: true
        email_notifications:
          type: boolean
          description: Whether email notifications are enabled for the inbox.
    InboxConversation:
      type: object
      properties:
        id:
          type: integer
          description: Conversation ID.
        type:
          type:
          - string
          - 'null'
          description: Network-specific conversation type.
        options:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Network-specific conversation options.
        external_id:
          type:
          - string
          - 'null'
          description: Platform-specific conversation ID.
        contact:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Social contact details, when available.
        latest:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Latest inbox item snapshot.
        account:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Social account attached to the conversation.
        status:
          type: string
          enum:
          - open
          - pending
          - closed
          - spam
          description: Conversation status.
        content:
          type:
          - string
          - 'null'
          description: Conversation text preview.
        attachments:
          type: array
          description: Conversation attachments.
          items:
            type: object
            additionalProperties: true
        tags:
          type: array
          description: Conversation tag names.
          items:
            type: string
        created_at:
          type: string
          format: date-time
          description: When the conversation was created.
        latest_at:
          type: string
          format: date-time
          description: Time of the latest conversation activity.
        assigned_to:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Assigned user, when assigned.
        creator_account:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Creator account for networks that expose it.
    InboxPaginatedItemsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/InboxConversationItem'
        currentPage:
          type: integer
          description: Current page number.
        lastPage:
          type: integer
          description: Last available page number.
        nextPage:
          type:
          - integer
          - 'null'
          description: Next page number, or null when this is the last page.
        total:
          type: integer
          description: Total number of matching items.
        comments_count:
          type: integer
          description: For Facebook posts, total visible comments and replies at every nesting level, regardless of pagination or reply filter.
    InboxActionRequest:
      type: object
      additionalProperties: true
      description: 'Optional action payload. Supported fields depend on the network and action.

        Common actions include:

        - `message`, `reply`, `comment`: send text and/or supported media.

        - `react`: send a reaction value where the network supports message reactions.

        - `vote`: send a Reddit-style vote value where voting is supported.

        Actions such as `like`, `dislike`, `delete`, `hide`, `unhide`, `spam`, `repost`, and `unrepost` usually do not need a body.

        '
      properties:
        content:
          type: string
          description: Text for comment/reply/message actions. Some networks also accept `text` or `message`.
        text:
          type: string
          description: Alternate text field accepted by some network handlers.
        message:
          type: string
          description: Alternate message field accepted by some network handlers.
        attachments:
          type: array
          description: Media attachments for networks/actions that support media responses.
          items:
            type: object
            additionalProperties: true
        reaction:
          type: string
          description: Reaction value for `react`, such as `love` or an emoji, depending on the network.
        vote:
          type: integer
          enum:
          - -1
          - 0
          - 1
          description: Vote direction for `vote`, where supported.
      example:
        content: Thanks for reaching out.
    InboxPaginatedConversationsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/InboxConversation'
        currentPage:
          type: integer
          description: Current page number.
        lastPage:
          type: integer
          description: Last available page number.
        nextPage:
          type:
          - integer
          - 'null'
          description: Next page number, or null when this is the last page.
        total:
          type: integer
          description: Total number of matching conversations.
    InboxConversationItem:
      type: object
      properties:
        id:
          type: integer
          description: Conversation item ID.
        data:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Raw network-specific item data.
        content:
          type:
          - string
          - 'null'
          description: Item text content.
        contact:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Social contact attached to this item.
        attachments:
          type: array
          description: Item attachments.
          items:
            type: object
            additionalProperties: true
        type:
          type: string
          description: Network-specific item type.
        parent_id:
          type:
          - integer
          - 'null'
          description: Parent item ID for replies.
        options:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Network-specific item options.
        status:
          type:
          - string
          - 'null'
          description: Item status, such as sent, failed, pending, hidden, or deleted.
        created_at:
          type: string
          format: date-time
          description: When the item was created.
        external_id:
          type:
          - string
          - 'null'
          description: Platform-specific item ID.
        creator_account:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Creator account for networks that expose it.
        children_count:
          type: integer
          description: Number of visible replies.
        children:
          type: array
          description: When author_reply_preview is enabled for a Facebook post, contains at most one latest visible reply from the connected Page. Use the replies endpoint to retrieve the complete thread.
          maxItems: 1
          items:
            $ref: '#/components/schemas/InboxConversationItem'
        conversation_id:
          type: integer
          description: Parent conversation ID.
        is_internal:
          type: boolean
          description: True for internal notes.
        note_author:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Internal note author, when this item is a note.
        tagged_users:
          type: array
          description: Users tagged in an internal note.
          items:
            type: object
            additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Send your SocialBu API token in the `Authorization` header:

        `Authorization: Bearer YOUR_API_TOKEN`

        '