---
title: "Confirm the owner's email with the code they read to you"
method: POST
path: "/agent/account/verify"
tags: ["Agent signup"]
---

# Confirm the owner's email with the code they read to you

`POST /agent/account/verify`

## Request

- Base URL: `https://simpledock.ai/api/v1`
- URL: `https://simpledock.ai/api/v1/agent/account/verify`
- Auth: HTTP bearer

Five wrong codes lock the email; resend to get a new one. Confirming an account an agent created also emails the owner a link to set their password.

## Request body

- object
  - `code` string, required

## Response `200`

Success

- object
  - `data` object, required
    - `email` string
    - `emailVerified` boolean
    - `organization` object
      - `id` string
      - `name` string
      - `verified` boolean
    - `locations` object[]
      - `id` string
      - `name` string
      - `slug` string
      - `bookingPageUrl` string, uri
    - `pendingUntilVerified` string[]
    - `deletesAt` string, date-time, nullable
    - `message` string

## Other responses

- `400`: Wrong or expired code
- `401`: Missing, invalid, or expired token
- `402`: Payment required — a Pro feature or a Free plan limit
- `403`: Forbidden — key is missing the required scope
- `409`: Too many wrong codes — resend the email for a new code
- `429`: Rate limited — slow down and retry after Retry-After

---

[API](https://skmtc.dev/simpledock/apis/simpledock-api.md) · [All operations](https://skmtc.dev/simpledock/apis/simpledock-api/llms.txt) · [OpenAPI document](https://skmtc.dev/simpledock/apis/simpledock-api/revisions/d6e8fedfc000?raw)
