Smart Agent Teams
EndpointsCompanies

Get Company

Get one company, including the caller's membership `role`. Members only: a company the caller does not belong to answers 404 `NOT_FOUND`, so company ids cannot be probed.

GET
/api/companies/{company_id}

Get one company, including the caller's membership role.

Members only: a company the caller does not belong to answers 404 NOT_FOUND, so company ids cannot be probed.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

company_id*Company Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
created_at*|null
id*Id
Formatuuid
mission*string|null
monthly_budget_cents*Monthly Budget Cents
name*Name
role?string|null
task_prefix*Task Prefix
curl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}