Search Accounts
Paginated, filterable working set of the active CRM provider (admin only). Backs the Accounts table and the campaign add-accounts picker.
Request
- Base URLhttps://dev.whispa.net (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2PasswordToken URL: auth/bearer/login
- or API key in cookie access_token
Query parameters
Column to sort by: display_name, account_number, phone, account_status, outstanding_amount, arrears_amount, last_activity_at, synced_at, created_at.
Sort direction: asc or desc.
Free-text search (case-insensitive) across display name, account number, email, external id and phone.
Provider status values to include (case-insensitive, repeatable). Omit for every status.
Only accounts with a membership in this campaign.
Filter by current campaign assignment count, or 'review' for accounts waiting on an operator decision.
'unknown': no timezone, so the gate will not call the account. 'manual': an operator set the timezone.
'account': a call is linked to this account. 'customer': a call is linked to this account or another account of the same customer. 'never': neither.
Inclusive lower bound on outstanding amount.
Inclusive upper bound on outstanding amount.
Inclusive lower bound on arrears amount.
Inclusive upper bound on arrears amount.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.