Accounts

Search Accounts

Changed on

Finds accounts by name among the accounts the credential can list. Support searches cover every account and return only the 50 best matches.

get/accounts/search

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

first, integer

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

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

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

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

query, string required

The account name to search for.

order, 'created_at'

Sort field. Without it, support searches return the best match first and other searches return the newest account first.

direction, 'asc' | 'desc'

Sort direction.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

accounts found

object required
data, AccountSearchResult[] required
page_info, object required

Example response

{
  "data": [
    {
      "created_at": "2026-01-01T12:00:00.000Z",
      "id": "biz_xxxxxxxxxxxxxx",
      "route": "biz_xxxxxxxxxxxxxx",
      "title": "Shine Time Detailing"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • info

      the security scope company:balance:read was removed from the endpoint's security scheme bearerAuth

    • info

      the security scope company:balance:read was removed from the endpoint's security scheme bearerAuth