Smart Agent Teams
EndpointsCompanies

List Companies

List the companies the caller belongs to, oldest first. Each item carries the caller's membership `role` (`owner`, `admin` or `member`). Companies the caller is not a member of are never returned.

GET
/api/companies

List the companies the caller belongs to, oldest first.

Each item carries the caller's membership role (owner, admin or member). Companies the caller is not a member of are never returned.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Response Body

Successful Response

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/api/companies"
[  {    "created_at": "2019-08-24T14:15:22Z",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "mission": "string",    "monthly_budget_cents": 0,    "name": "string",    "role": "string",    "task_prefix": "string"  }]