Bondery Webhooks API

Inbound webhooks from third-party services

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /webhooks/stripe Receive a Stripe webhook #

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/usebondery-com:usebondery-com-webhooks-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

usebondery-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Bondery Support
    url: https://usebondery.com
  description: 'REST API for the Bondery application — a contact and relationship management platform.


    ## Authentication


    Most endpoints require authentication via a Better Auth session cookie or a Bearer token (session JWT or long-lived API key).


    **Session auth:** Sign in via the webapp or mobile app; send the OAuth access token as `Authorization: Bearer …` or rely on the webapp session cookie.


    **API keys:** Create keys in Settings → API keys. Send `Authorization: Bearer bondery_key_…` on allowed integration routes (contacts, groups, tags, interactions, imports, share, geocode). Keys support `read` (GET/HEAD) or `full` access. See the authentication guide.


    Endpoints under `/api/me/api-keys`, `/api/me/mcp-consents`, `/api/sync`, `/api/chat`, `/api/subscriptions`, and `/api/extension` do not accept API keys. AI assistants use `POST /mcp` with an MCP OAuth token, not this REST API.'
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
  title: Bondery Webhooks API
  version: 1.0.0
servers:
- description: Local development server
  url: https://api.usebondery.test
- description: Production server
  url: https://api.usebondery.com
tags:
- description: Inbound webhooks from third-party services
  name: Webhooks
paths:
  /webhooks/stripe:
    post:
      summary: Receive a Stripe webhook
      tags:
      - Webhooks
      description: Receive and process a Stripe billing webhook event.
      responses:
        '200':
          description: Webhook acknowledged
          content:
            application/json:
              example:
                received: true
              schema:
                type: object
                properties:
                  received:
                    type: boolean
                    description: True when the webhook was accepted
                required:
                - received
                additionalProperties: false
                example:
                  received: true
        '400':
          description: Invalid request
          content:
            application/json:
              example:
                error:
                  agent_message: body.email Invalid input. Read details for the rejected fields, correct those arguments, then retry the call.
                  code: validation_error
                  doc_url: https://usebondery.com/docs/api/errors/validation_error
                  message: body.email Invalid input
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: invalid_request_error
                  param: body.email
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Authentication required
          content:
            application/json:
              example:
                error:
                  agent_message: Unauthorized - Please log in. Reconnect the client and approve access, then retry the call.
                  code: auth_required
                  doc_url: https://usebondery.com/docs/api/errors/auth_required
                  message: Unauthorized - Please log in
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: authentication_error
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              example:
                error:
                  agent_message: Forbidden. Read doc_url for the recovery steps, then retry the call.
                  code: api_key_route_forbidden
                  doc_url: https://usebondery.com/docs/api/errors/api_key_route_forbidden
                  message: Forbidden
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: authorization_error
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found
          content:
            application/json:
              example:
                error:
                  agent_message: Contact not found. Call search_contacts with the person's name and retry with a personId from the results.
                  code: contact_not_found
                  doc_url: https://usebondery.com/docs/api/errors/contact_not_found
                  message: Contact not found
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: not_found_error
              schema:
                $ref: '#/components/schemas/ApiError'
        '426':
          description: Upgrade required
          content:
            application/json:
              example:
                error:
                  agent_message: Sync protocol version mismatch. Read doc_url for the recovery steps, then retry the call.
                  code: sync_protocol_mismatch
                  doc_url: https://usebondery.com/docs/api/errors/sync_protocol_mismatch
                  message: Sync protocol version mismatch
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: invalid_request_error
                  details:
                    clientVersion: null
                    requiredVersion: 2
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Too many requests
          content:
            application/json:
              example:
                error:
                  agent_message: Rate limit exceeded. Retry in 42 seconds. Wait for the number of seconds in retry_after, then retry the same call. Do not retry in a loop.
                  code: rate_limit_exceeded
                  doc_url: https://usebondery.com/docs/api/errors/rate_limit_exceeded
                  message: Rate limit exceeded. Retry in 42 seconds.
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: rate_limit_error
                  retry_after: 42
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal server error
          content:
            application/json:
              example:
                error:
                  agent_message: Internal Server Error. Retry the call once with the same arguments. If it fails again, tell the user the request_id and report the failure.
                  code: internal_server_error
                  doc_url: https://usebondery.com/docs/api/errors/internal_server_error
                  message: Internal Server Error
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: api_error
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: Service unavailable
          content:
            application/json:
              example:
                error:
                  agent_message: Service unavailable. Retry the call once with the same arguments. If it fails again, tell the user the request_id and report the failure.
                  code: service_unavailable
                  doc_url: https://usebondery.com/docs/api/errors/service_unavailable
                  message: Service unavailable
                  request_id: 00000000-0000-0000-0000-000000000000
                  type: service_unavailable_error
              schema:
                $ref: '#/components/schemas/ApiError'
      operationId: postWebhooksStripe
      x-operation-id-source: derived
components:
  schemas:
    ApiErrorBody:
      type: object
      properties:
        agent_message:
          type: string
          minLength: 1
          description: 'Recovery instruction for an AI agent: what failed, why, and how to fix the call. Always present.'
        code:
          type: string
          description: Machine-readable error code
        details:
          description: Extra fields for this error
          type: object
          additionalProperties: {}
        doc_url:
          type: string
          format: uri
          description: Documentation URL for this error code
        message:
          type: string
          description: Human-readable error message
        param:
          description: Request field that caused the error
          type: string
        request_id:
          type: string
          description: Identifier of this request
        retry_after:
          description: Seconds to wait before the next request
          type: integer
          maximum: 9007199254740991
          exclusiveMinimum: 0
        type:
          type: string
          enum:
          - invalid_request_error
          - authentication_error
          - authorization_error
          - not_found_error
          - conflict_error
          - rate_limit_error
          - api_error
          - service_unavailable_error
          description: Error class
      required:
      - agent_message
      - code
      - doc_url
      - message
      - request_id
      - type
      additionalProperties: false
    ApiError:
      type: object
      properties:
        error:
          description: Error payload
          allOf:
          - $ref: '#/components/schemas/ApiErrorBody'
      required:
      - error
      additionalProperties: false
      description: Error response with a human-readable message
      example:
        error:
          agent_message: body.email Invalid input. Read details for the rejected fields, correct those arguments, then retry the call.
          code: validation_error
          doc_url: https://usebondery.com/docs/api/errors/validation_error
          message: body.email Invalid input
          request_id: 00000000-0000-0000-0000-000000000000
          type: invalid_request_error
          param: body.email
  securitySchemes:
    apiKeyAuth:
      bearerFormat: API Key
      description: 'Long-lived API key created in Settings → API keys. Format: `bondery_key_<keyId>_<secret>`. Only works on integration routes (contacts, groups, tags, interactions, imports, share, geocode). Supports `read` (GET/HEAD) or `full` access.'
      scheme: bearer
      type: http
    bearerAuth:
      bearerFormat: JWT
      description: 'Better Auth session access token (OAuth 2.1) from the webapp or mobile app. Send as `Authorization: Bearer <access_token>`.'
      scheme: bearer
      type: http