---
title: "Confirm contact email verification"
method: POST
path: "/api/contacts/verify-email/{requestId}/confirm"
tags: ["Contacts"]
---

# Confirm contact email verification

`POST /api/contacts/verify-email/{requestId}/confirm`

## Request

- Base URL: `https://core-api.getaptly.com`
- URL: `https://core-api.getaptly.com/api/contacts/verify-email/{requestId}/confirm`
- Auth: one of:
  - API key in header `x-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/getaptly/apis/aptly-api/docs/api/contacts/verify-email/:requestId/confirm/post.ts> (a function with typed inputs; its response is checked against the schema)

Submits the 6-digit code received by email. Returns the matching contact records
if the code is valid, not expired, and has not already been used.

After 5 consecutive failed attempts the verification is permanently invalidated.
The caller must re-initiate a new verification to try again.

## Path parameters

- `requestId` string, required

## Request body

- object
  - `code` string, required: The 6-digit verification code sent to the email address.

## Response `200`

Code accepted — returns verified status and matching contacts.

- object
  - `verified` boolean
  - `contacts` Contact[]
    - `_id` string: MongoDB ObjectId of the contact.
    - `uuid` string
    - `firstname` string
    - `lastname` string
    - `fullName` string: Computed display name (first + last, or company name for org records).
    - `duogram` string: Two-letter initials derived from first and last name.
    - `photoId` string, nullable
    - `imageUrl` string, nullable: CDN thumbnail URL for the contact's photo, or null if none.
    - `email` string
    - `phone` string
    - `typeId` string
    - `companyId` string
    - `address` object
    - `title` string
    - `alerts` object[]
    - `company` string: Company name — populated when isCompany is true.
    - `isCompany` boolean

## Other responses

- `400`: Missing code field.
- `401`: Invalid or missing API key, or code is invalid/expired/already used.

---

[API](https://skmtc.dev/getaptly/apis/aptly-api.md) - [All operations](https://skmtc.dev/getaptly/apis/aptly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaptly/apis/aptly-api/revisions/75c367e0b8e5?raw)
