Skip to main content
GET
Fetch all accounts for authenticated user

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

Accounts fetched successfully

message
string
Example:

"Accounts fetched successfully!"

accounts
object[]