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

# Search accounts

`GET /accounts`

## Request

- Base URL: `https://api.waymark.com/v1`
- URL: `https://api.waymark.com/v1/accounts`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `Authorization`

## Query parameters

- `email` string, email
- `external_id` string
- `limit` integer
- `offset` integer

## Response `200`

List of accounts matching the search criteria

- AccountSearchResults
  - `accounts` Account[]
    - `accountGuid` string, uuid, required
    - `email` string, required
    - `externalId` string
    - `firstName` string
    - `lastName` string
    - `status` 'ACTIVE' | 'INACTIVE' | 'PENDING_PASSWORD_SETUP', required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `total` integer
  - `limit` integer
  - `offset` integer

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/waymark/apis/waymark-api-v1.md) - [All operations](https://skmtc.dev/waymark/apis/waymark-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/waymark/apis/waymark-api-v1/revisions/0b315115f107?raw)
