List companies
Client companies that match a search, with status and manager.
GET https://cotlet.dev/api/v1/accelo/companies
read
Searches companies by name and returns their ID, status and manager. Use the ID to filter tickets, projects and invoices. Pages hold up to 100 companies; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| search string | string | Part of the company name. |
| limit integer | integer | 1 to 100. Default: 25. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/accelo/companies \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accelo", "list_companies") const result = await cotlet.call('accelo', 'list_companies'); cotlet call accelo list_companies Example response
{
"companies": [
{
"company_id": 39,
"name": "Brightwave Studio",
"status": "Active client",
"manager": "Priya Nair",
"website": "https://brightwave.example"
}
],
"next_cursor": null
}