List clients

Search clients by name.

GET https://cotlet.dev/api/v1/aroflo/clients

read

Returns clients with client_id, name and their locations. Use the client_id in create_task. A search with no match returns an empty list and no error. Cotlet has no tool that creates a client, because AroFlo asks for an extra permission for that.

Parameters

Parameters: list_clients
NameTypeDescription
search string string Part of the client name.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/aroflo/clients \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("aroflo", "list_clients")
Node.js
const result = await cotlet.call('aroflo', 'list_clients');
CLI
cotlet call aroflo list_clients

Example response

JSON

{
  "clients": [
    {
      "client_id": "client_311",
      "name": "Harbour Café",
      "locations": [
        "12 Wharf Road"
      ]
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.