Chatinbox V2 Chat API

The v2Chat API from Chatinbox — 17 operation(s) for v2chat.

GitHub OpenAPI

Operations 19

GET /api/v2/chat/getuserchannels Get api chat getuserchannels #
GET /api/v2/chat/getchannelcounter Get api chat getchannelcounter #
GET /api/v2/chat/search-channels Get api chat search channels #
POST /api/v2/chat/search-channels Create api chat search channels #
POST /api/v2/chat/search-chat Create api chat search chat #
POST /api/v2/chat/saved-filter-chats Create api chat saved filter chats #
POST /api/v2/chat/saved-filter-summary Create api chat saved filter summary #
POST /api/v2/chat/saved-filter-match Create api chat saved filter match #
POST /api/v2/chat/choose-chat Create api chat choose chat #
POST /api/v2/chat/start-chat Create api chat start chat #
POST /api/v2/chat/search-chat-basic Create api chat search chat basic #
POST /api/v2/chat/getchatviewbyid Create api chat getchatviewbyid #
POST /api/v2/chat/getchatbyid Create api chat getchatbyid #
POST /api/v2/chat/chatcount Create api chat chatcount #
GET /api/v2/chat/get-all-chat-messages/{id} Get api chat get all chat messages by id #
POST /api/v2/chat/{chatId}/messages/{messageId}/star Create api chat by chat id messages by message id star #
DELETE /api/v2/chat/{chatId}/messages/{messageId}/star Delete api chat by chat id messages by message id star #
POST /api/v2/chat/block-phone-number Create api chat block phone number #
POST /api/v2/chat/unblock-phone-number Create api chat unblock phone number #

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/chatinbox-net:chatinbox-net-v2chat-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

chatinbox-net-v2chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Chatinbox Net V2 Chat API
  version: '1.0'
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  description: 'Operations tagged v2Chat across 2 of this provider''s published API definitions: chatinbox-net-openapi-original.json, chatinbox-net-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.chatinbox.net
  description: Host serving the Swagger UI and this spec (spec has no servers[]; paths are relative to it)
security:
- Bearer: []
tags:
- name: v2Chat
paths:
  /api/v2/chat/getuserchannels:
    get:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get api chat getuserchannels
      x-summary-source: derived
      operationId: getApiV2ChatGetuserchannels
      x-operation-id-source: derived
  /api/v2/chat/getchannelcounter:
    get:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get api chat getchannelcounter
      x-summary-source: derived
      operationId: getApiV2ChatGetchannelcounter
      x-operation-id-source: derived
  /api/v2/chat/search-channels:
    get:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
      responses:
        '200':
          description: Success
      summary: Get api chat search channels
      x-summary-source: derived
      operationId: getApiV2ChatSearchChannels
      x-operation-id-source: derived
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
      responses:
        '200':
          description: Success
      summary: Create api chat search channels
      x-summary-source: derived
      operationId: postApiV2ChatSearchChannels
      x-operation-id-source: derived
  /api/v2/chat/search-chat:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
      responses:
        '200':
          description: Success
      summary: Create api chat search chat
      x-summary-source: derived
      operationId: postApiV2ChatSearchChat
      x-operation-id-source: derived
  /api/v2/chat/saved-filter-chats:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SavedFilterChatPageRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/SavedFilterChatPageRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SavedFilterChatPageRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SavedFilterChatPageRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat saved filter chats
      x-summary-source: derived
      operationId: postApiV2ChatSavedFilterChats
      x-operation-id-source: derived
  /api/v2/chat/saved-filter-summary:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SavedFilterSummaryRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/SavedFilterSummaryRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SavedFilterSummaryRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SavedFilterSummaryRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat saved filter summary
      x-summary-source: derived
      operationId: postApiV2ChatSavedFilterSummary
      x-operation-id-source: derived
  /api/v2/chat/saved-filter-match:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SavedFilterMatchRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/SavedFilterMatchRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SavedFilterMatchRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SavedFilterMatchRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat saved filter match
      x-summary-source: derived
      operationId: postApiV2ChatSavedFilterMatch
      x-operation-id-source: derived
  /api/v2/chat/choose-chat:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/V2ChooseChatRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/V2ChooseChatRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/V2ChooseChatRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/V2ChooseChatRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat choose chat
      x-summary-source: derived
      operationId: postApiV2ChatChooseChat
      x-operation-id-source: derived
  /api/v2/chat/start-chat:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/V2StartChatRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/V2StartChatRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/V2StartChatRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/V2StartChatRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat start chat
      x-summary-source: derived
      operationId: postApiV2ChatStartChat
      x-operation-id-source: derived
  /api/v2/chat/search-chat-basic:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatFilter'
      responses:
        '200':
          description: Success
      summary: Create api chat search chat basic
      x-summary-source: derived
      operationId: postApiV2ChatSearchChatBasic
      x-operation-id-source: derived
  /api/v2/chat/getchatviewbyid:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatViewFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatViewFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatViewFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatViewFilter'
      responses:
        '200':
          description: Success
      summary: Create api chat getchatviewbyid
      x-summary-source: derived
      operationId: postApiV2ChatGetchatviewbyid
      x-operation-id-source: derived
  /api/v2/chat/getchatbyid:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type: object
              additionalProperties: false
          application/json:
            schema:
              type: object
              additionalProperties: false
          text/json:
            schema:
              type: object
              additionalProperties: false
          application/*+json:
            schema:
              type: object
              additionalProperties: false
      responses:
        '200':
          description: Success
      summary: Create api chat getchatbyid
      x-summary-source: derived
      operationId: postApiV2ChatGetchatbyid
      x-operation-id-source: derived
  /api/v2/chat/chatcount:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ChatCountFilter'
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCountFilter'
          text/json:
            schema:
              $ref: '#/components/schemas/ChatCountFilter'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChatCountFilter'
      responses:
        '200':
          description: Success
      summary: Create api chat chatcount
      x-summary-source: derived
      operationId: postApiV2ChatChatcount
      x-operation-id-source: derived
  /api/v2/chat/get-all-chat-messages/{id}:
    get:
      tags:
      - v2Chat
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Get api chat get all chat messages by id
      x-summary-source: derived
      operationId: getApiV2ChatGetAllChatMessagesById
      x-operation-id-source: derived
  /api/v2/chat/{chatId}/messages/{messageId}/star:
    post:
      tags:
      - v2Chat
      parameters:
      - name: chatId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: messageId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Create api chat by chat id messages by message id star
      x-summary-source: derived
      operationId: postApiV2ChatByChatIdMessagesByMessageIdStar
      x-operation-id-source: derived
    delete:
      tags:
      - v2Chat
      parameters:
      - name: chatId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: messageId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: api-version
        in: header
        schema:
          type: string
      responses:
        '200':
          description: Success
      summary: Delete api chat by chat id messages by message id star
      x-summary-source: derived
      operationId: deleteApiV2ChatByChatIdMessagesByMessageIdStar
      x-operation-id-source: derived
  /api/v2/chat/block-phone-number:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat block phone number
      x-summary-source: derived
      operationId: postApiV2ChatBlockPhoneNumber
      x-operation-id-source: derived
  /api/v2/chat/unblock-phone-number:
    post:
      tags:
      - v2Chat
      parameters:
      - name: api-version
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/V2ChatOperationRequest'
      responses:
        '200':
          description: Success
      summary: Create api chat unblock phone number
      x-summary-source: derived
      operationId: postApiV2ChatUnblockPhoneNumber
      x-operation-id-source: derived
components:
  schemas:
    ChatListFilterType:
      enum:
      - 1
      - 2
      - 3
      - 4
      type: integer
      format: int32
    ChatCountFilter:
      type: object
      properties:
        chatGeneralFilterType:
          $ref: '#/components/schemas/ChatGeneralFilterType'
        channelID:
          type: integer
          format: int32
        featureFilter:
          type: integer
          format: int32
        userFilter:
          type:
          - integer
          - 'null'
          format: int32
        savedFilterId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    V2ChooseChatRequest:
      type: object
      properties:
        phoneNumber:
          type:
          - string
          - 'null'
        lockedPhoneNumber:
          type:
          - string
          - 'null'
      additionalProperties: false
    V2StartChatRequest:
      type: object
      properties:
        instanceId:
          type: integer
          format: int32
        instanceType:
          type: integer
          format: int32
        phoneNumber:
          type:
          - string
          - 'null'
        lockedPhoneNumber:
          type:
          - string
          - 'null'
        force:
          type: boolean
        expectedOwnerUserId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    V2ChatOperationRequest:
      type: object
      properties:
        chatId:
          type: integer
          format: int32
      additionalProperties: false
    SavedFilterMatchRequest:
      type: object
      properties:
        savedFilterId:
          type: integer
          format: int32
        chatIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        chatListFilterType:
          type: integer
          format: int32
        filterMinute:
          type: integer
          format: int32
      additionalProperties: false
    ChatViewFilter:
      type: object
      properties:
        chatID:
          type: integer
          format: int32
        skip:
          type: integer
          format: int32
        take:
          type: integer
          format: int32
        searchText:
          type:
          - string
          - 'null'
      additionalProperties: false
    ChatGeneralFilterType:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      type: integer
      format: int32
    ChatFilter:
      type: object
      properties:
        channelID:
          type: integer
          format: int32
        userID:
          type: integer
          format: int32
        skip:
          type: integer
          format: int32
        take:
          type: integer
          format: int32
        ascDesc:
          type: boolean
        featureFilter:
          type:
          - string
          - 'null'
        searchText:
          type:
          - string
          - 'null'
        chatListFilterType:
          $ref: '#/components/schemas/ChatListFilterType'
        chatGeneralFilterType:
          $ref: '#/components/schemas/ChatGeneralFilterType'
        isSuperAdmin:
          type: boolean
        userFilter:
          type:
          - integer
          - 'null'
          format: int32
        gmt:
          type: integer
          format: int32
        filterMinute:
          type: integer
          format: int32
        searchAreaType:
          type:
          - string
          - 'null'
        savedFilterId:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    SavedFilterChatPageRequest:
      type: object
      properties:
        savedFilterId:
          type: integer
          format: int32
        chatListFilterType:
          type: integer
          format: int32
        filterMinute:
          type: integer
          format: int32
        take:
          type: integer
          format: int32
        ascDesc:
          type: boolean
        cursor:
          type:
          - string
          - 'null'
      additionalProperties: false
    SavedFilterSummaryRequest:
      type: object
      properties:
        savedFilterId:
          type: integer
          format: int32
        chatListFilterType:
          type: integer
          format: int32
        filterMinute:
          type: integer
          format: int32
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT Authorization header. Örnek: "Bearer {token}"'
      name: Authorization
      in: header
x-refined-from:
- chatinbox-net-openapi-original.json
- chatinbox-net-openapi.yml