Skip to main content
GET
Search account records

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-11-04-1"

Query Parameters

query
string
required

Text to search for, 2 to 250 characters.

types
enum<string>[]

Kinds of records to search. Defaults to every kind. account rows are account_id itself and, with include_subaccounts, its subaccounts.

Available options:
account,
member,
membership,
payment,
affiliate,
review,
resolution_center_case,
promo_code
account_id
string
required

The account to search, prefixed biz_. Records other than accounts belong to it, or with include_subaccounts to its subaccounts. Your credential needs read access to it; an account you can't read is a 404.

include_subaccounts
boolean

true also searches the subaccounts of a platform account_id: an ID, an email, card digits or a phone number finds their records, and the subaccounts themselves are found as account rows by name, ID or store link, or by the email of their owner, a team member or a customer. Safe to send for any account: one without subaccounts is searched as if this were false.

first
integer
default:20

Number of results to return from the start of the range.

Required range: x <= 100

Response

Search results: identifier matches first, then ranked rows, best match first.

data
object[]
required
page_info
object
required