get https://api.dashboard.strev.ai/api/v2/company
List all (or one) companies.
Endpoint URL
https://{{base_url}}/api/v2/company
Authentication and rate limits
Item | Details |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request GET \
--url "https://{{base_url}}/api/v2/company" \
--header 'Authorization: Bearer $BEARER_TOKEN'
curl --request GET \
--url "https://{{base_url}}/api/v2/company/{id}" \
--header "Authorization: Bearer $BEARER_TOKEN"
Query Parameters
- id (integer) --
Optional if you want to list a specific company ID. The id parameter is passed as part of the request url
/company/$id
.
Response Syntax
{
"id": integer,
"name": "string",
"status": "active" | "archived"
}