---
title: "Search for accounts"
method: GET
path: "/accounts/search"
tags: ["Accounts"]
---

# Search for accounts

`GET /accounts/search`

Search and filter accounts based on various criteria including name, industry, headquarters, and more

## Query parameters

- `account_name` string
- `account_industry` string
- `account_hq` string
- `priority_id` integer
- `stage_id` integer
- `group_id` integer

## Response `200`

Successfully retrieved accounts

- object[]
  - `entity_type_id` integer — Type ID for the entity (fixed value: 2)
  - `id` integer — Unique identifier for the account
  - `group_id` integer, nullable — Group identifier associated with the account
  - `type` integer, nullable — Entity stage ID
  - `priority` integer, nullable — Entity priority ID

## Other responses

- `400` — Bad Request - Invalid parameters
- `404` — No accounts found matching the criteria
- `500` — Server error while fetching accounts

---

[API](https://skmtc.dev/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.dev/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/revisions/40a7125e0355/schema)
