Skip to main content
Beyond the core CRM REST API, your BasicsOS server exposes additional /api/* endpoints. These use the same authentication methods (session cookies, Better Auth token, or Personal CRM API token).
These endpoints are product features that power the BasicsOS web UI. Not all are required for minimal CRM CRUD integrations. They are listed here so integrators know they exist.

Identity and auth

PathDescription
GET /api/meReturns the currently authenticated user’s profile.
/api/auth/*Better Auth routes (login, logout, session management).

Object configuration

PathDescription
GET /api/object-configList CRM object definitions and favorites.
PUT /api/object-config/:idUpdate object configuration (display name, icon, etc.).

Schema introspection

PathDescription
GET /api/schema/:tableNameReturns the schema for a given table — column names, types, and constraints. Use this to discover writable fields for any resource.
curl https://your-app.up.railway.app/api/schema/contacts \
  -H "Authorization: Bearer bos_crm_your_token_here"

Views

PathDescription
GET /api/viewsList saved views (filtered/sorted list configurations).
POST /api/viewsCreate a saved view.
PUT /api/views/:idUpdate a saved view.
DELETE /api/views/:idDelete a saved view.

Custom field definitions

PathDescription
GET /api/custom_field_defsList custom field definitions across objects.
POST /api/custom_field_defsCreate a custom field definition.
PUT /api/custom_field_defs/:idUpdate a custom field definition.
DELETE /api/custom_field_defs/:idDelete a custom field definition.

Automation

PathDescription
GET /api/automation-runsList automation execution history.

Other product APIs

These endpoints power specific product features. They follow the same auth pattern.
PathDescription
/api/connectionsManage third-party provider connections.
/api/gateway-chatProxy chat requests through the gateway.
/api/threadsConversation threads (chat/AI interactions).
/api/meetingsMeeting records and scheduling data.
/api/email-syncEmail synchronization status and configuration.
/api/rbacRole-based access control configuration.
/api/adminAdministrative operations (user management, org settings).