Skip to main content
GET
/
v1
/
fetch-company
/
{company_id}
Fetch company by ID
curl --request GET \
  --url https://api.salescaptain.com/v1/fetch-company/{company_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Company fetched successfully!",
  "company": {
    "company_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Acme Corporation"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

company_id
string<uuid>
required

Unique identifier for the company

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Response

Company fetched successfully

message
string
Example:

"Company fetched successfully!"

company
object

Company information object