Campfire SMS Bridges API

The Bridges API from Campfire SMS — 6 operation(s) for bridges.

Operations 6

POST /v1/bridges Open Bridge #
GET /v1/bridges/{bridge_id} Get Bridge #
POST /v1/bridges/{bridge_id}/close Close Bridge #
GET /v1/bridges/{bridge_id}/messages Check Bridge Messages #
POST /v1/bridges/{bridge_id}/ack Acknowledge Bridge Messages #
POST /v1/bridges/{bridge_id}/messages/send Send Bridge Message #

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/campfiresms-com:campfiresms-com-bridges-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

campfiresms-com-bridges-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CampfireSMS Bridges API
  version: 0.1.0
tags:
- name: Bridges
paths:
  /v1/bridges:
    post:
      summary: Open Bridge
      operationId: open_bridge_v1_bridges_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OpenBridgeRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Open Bridge V1 Bridges Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
  /v1/bridges/{bridge_id}:
    get:
      summary: Get Bridge
      operationId: get_bridge_v1_bridges__bridge_id__get
      parameters:
      - name: bridge_id
        in: path
        required: true
        schema:
          type: string
          title: Bridge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Bridge V1 Bridges  Bridge Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
  /v1/bridges/{bridge_id}/close:
    post:
      summary: Close Bridge
      operationId: close_bridge_v1_bridges__bridge_id__close_post
      parameters:
      - name: bridge_id
        in: path
        required: true
        schema:
          type: string
          title: Bridge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Close Bridge V1 Bridges  Bridge Id  Close Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
  /v1/bridges/{bridge_id}/messages:
    get:
      summary: Check Bridge Messages
      operationId: check_bridge_messages_v1_bridges__bridge_id__messages_get
      parameters:
      - name: bridge_id
        in: path
        required: true
        schema:
          type: string
          title: Bridge Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Check Bridge Messages V1 Bridges  Bridge Id  Messages Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
  /v1/bridges/{bridge_id}/ack:
    post:
      summary: Acknowledge Bridge Messages
      operationId: acknowledge_bridge_messages_v1_bridges__bridge_id__ack_post
      parameters:
      - name: bridge_id
        in: path
        required: true
        schema:
          type: string
          title: Bridge Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AckBridgeMessagesRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Acknowledge Bridge Messages V1 Bridges  Bridge Id  Ack Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
  /v1/bridges/{bridge_id}/messages/send:
    post:
      summary: Send Bridge Message
      operationId: send_bridge_message_v1_bridges__bridge_id__messages_send_post
      parameters:
      - name: bridge_id
        in: path
        required: true
        schema:
          type: string
          title: Bridge Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendBridgeMessageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Send Bridge Message V1 Bridges  Bridge Id  Messages Send Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Bridges
components:
  schemas:
    SendBridgeMessageRequest:
      properties:
        body:
          type: string
          maxLength: 1000
          minLength: 1
          title: Body
      type: object
      required:
      - body
      title: SendBridgeMessageRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    OpenBridgeRequest:
      properties:
        runtime_type:
          type: string
          maxLength: 64
          minLength: 1
          title: Runtime Type
        runtime_session_id:
          anyOf:
          - type: string
            maxLength: 256
          - type: 'null'
          title: Runtime Session Id
        label:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Label
      additionalProperties: false
      type: object
      required:
      - runtime_type
      title: OpenBridgeRequest
    AckBridgeMessagesRequest:
      properties:
        message_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Message Ids
      type: object
      required:
      - message_ids
      title: AckBridgeMessagesRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError