Bondery Mobile API
Public mobile app configuration. `GET /mobile/manifest` advertises the current production CalVer for a non-blocking update check. Not a health probe — use `GET /health/live` for liveness.
Public mobile app configuration. `GET /mobile/manifest` advertises the current production CalVer for a non-blocking update check. Not a health probe — use `GET /health/live` for liveness.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/usebondery-com:usebondery-com-mobile-api"
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.
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: 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 Mobile 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: Public mobile app configuration. `GET /mobile/manifest` advertises the current production CalVer for a non-blocking update check. Not a health probe — use `GET /health/live` for liveness.
name: Mobile
paths:
/mobile/manifest:
get:
summary: Fetch mobile manifest
tags:
- Mobile
description: Public mobile app configuration. `latestVersion` is the current production CalVer for a non-blocking update check. Not a health probe — use `GET /health/live` for liveness.
responses:
'200':
description: Mobile manifest
content:
application/json:
example:
mobile:
latestVersion: 1.9.1
schema:
type: object
properties:
mobile:
type: object
properties:
latestVersion:
type: string
description: Latest published mobile app version
example: 1.9.1
required:
- latestVersion
additionalProperties: false
description: Mobile app version info
required:
- mobile
additionalProperties: false
example:
mobile:
latestVersion: 1.9.1
'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: getMobileManifest
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