List accounts

Accounts with code, name, email, company and state.

GET https://cotlet.dev/api/v1/recurly/accounts

read

Lists Recurly accounts, 50 per page by default and up to 200. Filter by state active or closed. Each item carries the account_code you pass to the other tools. An account can sit in more than one state view, so check the state field in each item.

Parameters

Parameters: list_accounts
NameTypeDescription
state enum enum active or closed. Default: all.
per_page integer integer 1 to 200. Default: 50.
cursor string string Next page cursor from the previous call.

Request

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

Example response

JSON

{
  "accounts": [
    {
      "account_code": "acme-co",
      "state": "active",
      "company_name": "Acme Co",
      "email": "billing@acme.example",
      "first_name": "Dana",
      "last_name": "Reed",
      "created_at": "2026-03-02T10:14:00Z"
    },
    {
      "account_code": "north-yard",
      "state": "active",
      "company_name": "North Yard",
      "email": "ap@northyard.example",
      "first_name": "Lee",
      "last_name": "Park",
      "created_at": "2026-04-19T08:41:00Z"
    }
  ],
  "total": 2,
  "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.