Tip: Use this API documentation to explore, test, and integrate SalesCaptain features into your platform efficiently.
- OpenAPI Specification — for direct endpoint testing and integration.
- MDX Components — for interactive documentation and embedded code examples.
Authentication
All API requests to SalesCaptain are authenticated using Bearer tokens.To access our endpoints:
- Generate your API key from your SalesCaptain Developer Dashboard.
- Include the token in the header of every request as shown below.
Company Management
The Companies API allows you to fetch all companies linked to the authenticated user. This includes:- Company IDs
- Company names
- Relationship based on accounts
- Permission-bound access
You can filter leads by date, status, or source using query parameters.
Endpoints
GET /v1 — Health Check
The Health Check endpoint allows developers and monitoring systems to verify that the SalesCaptain API Documentation Service is running correctly.It returns the current service version, uptime status, and ensures that the gateway is responsive before making further API calls. This is especially useful for:
- Automated monitoring systems
- CI/CD pipelines
- Internal dashboards
- Integration testing
What It Does
- Confirms that the API is reachable
- Returns the current API version
- Helps prevent unnecessary requests if the service is down
Response Example
GET /v1/fetch-companies — Fetch Companies
This endpoint retrieves all companies associated with the authenticated user.SalesCaptain users often manage multiple accounts/locations, and each account is linked to a company.
This API collects all those company records and returns them in a clean, structured format.
What This Endpoint Does
- Authenticates the request using the user’s Bearer token
- Identifies which accounts the user belongs to
- Extracts the company IDs from those accounts
- Fetches full company details
- Returns all companies the user has access to
Example Use Cases
- Building a dashboard showing all organizations the user manages
- Multi-tenant SaaS applications pulling business profiles
- CRM systems syncing company metadata
- Showing users a list of their locations or franchises

