Skip to main content
GET
/
v1
/
fetch-companies
Fetch companies for authenticated user
curl --request GET \
  --url https://api.salescaptain.com/v1/fetch-companies \
  --header 'Authorization: Bearer <token>'
{
  "message": "Companies fetched successfully!",
  "companies": [
    {
      "company_id": "00000000-0000-0000-0000-000000000000",
      "name": "salescaptain",
      "company_type": "single",
      "status": "active"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.salescaptain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Response

Companies fetched successfully

message
string
Example:

"Companies fetched successfully!"

companies
object[]