---
title: "Verify a facemap"
method: POST
path: "/v2/profiles/{profileId}/facemaps/verify"
tags: ["sca-facemaps"]
---

# Verify a facemap

`POST /v2/profiles/{profileId}/facemaps/verify`

Verifies a facemap challenge when calling a SCA-secured endpoint. Make sure to [create a facemap](/api-reference/sca-facemaps/scafacemapcreate) before using this endpoint.

A facemap should be exported from your FaceTec server using the SDK's [export API](https://dev.facetec.com/api-guide#export-3d-facemap). Please use Wise's FaceTec [public key](/api-reference/facetec/facetecpublickeyget) to encrypt a facemap during the export process.

## Path parameters

- `profileId` integer, required

## Headers

- `One-Time-Token` string, uuid, required
- `X-External-Correlation-Id` string, uuid

## Request body

- object
  - `faceMap` string — A base64 encoded string.

## Response `200`

The facemap has been successfully verified.

- OneTimeToken — A one-time token is generated when accessing an endpoint secured by SCA. This token includes a list of all available challenges to complete. You can use the [OTT status endpoint](/api-reference/sca-ott/ottstatusget) to view challenges and their statuses, or use [create SCA session](/api-reference/sca-sessions/scasessioncreate) to manually trigger SCA and return a one-time token.
  - `oneTimeToken` string, uuid — A one-time token unique identifier.
  - `challenges` object[] — An array of challenges.
    - `primaryChallenge` object
      - `type` string — A type of challenge.
    - `passed` boolean — The status of a challenge.
  - `validity` integer — The One-Time Token expiration in seconds.

## Other responses

- `400` — The facemap verification failed.
- `429` — Rate limit exceeded. Retry after the number of seconds specified in the `Retry-After` header.

---

[API](https://skmtc.net/wise/apis/platform-api.md) · [All operations](https://skmtc.net/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wise/platform-api/revisions/4907a1d269ab/schema)
