Accounts

Lists the B2B accounts (organizations) in the workspace. Search matches name, external ID and domain. Sort with sort (updatedAt, createdAt, name, memberCount, lastEventAt) and order (asc, desc). withoutEventRecipients=true keeps accounts with members but no owner or admin. Organizations is the dashboard name for accounts, and every /accounts path also works as /organizations, and /account-suggestions as /organization-suggestions.

get/accounts

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/accounts
  • Auth
    HTTP bearer

Query parameters

searchstring
pageinteger
limitinteger
sort'updatedAt' | 'createdAt' | 'name' | 'memberCount' | 'lastEventAt'
order'asc' | 'desc'
withoutEventRecipients'true' | 'false'

When true, only accounts that have members but no owner or admin. Account events sent to owners or admins reach nobody in these accounts.

Response

Accounts page

successboolean
totalinteger
pageinteger
limitinteger
hasMoreboolean

Example response

{
  "accounts": [
    {
      "id": "acc_abc123",
      "externalId": "org_123",
      "name": "Acme",
      "domain": "acme.com",
      "attributes": {
        "plan": "pro",
        "seats": 5
      }
    }
  ]
}

Changes