---
title: "Verify user by changing it's temporary password."
method: POST
path: "/api/v1/authentication/verify"
tags: ["authentication"]
---

# Verify user by changing it's temporary password.

`POST /api/v1/authentication/verify`

Verify user by changing default temp password. `x-auth-session-token` must be provided as HTTP header.
Value is retrieved from /login endpoint when first time login is attempted.

## Headers

- `x-auth-session-token` string, required

## Response `200`

Successful Response

- AuthenticationResponse — Authentication response.
  - `status` integer, required — Status code of authentication.
  - `account` string, required — User account.
  - `accessToken` string, nullable — Access token, used ar Bearer token for accessing endpoints.
  - `sessionToken` string, nullable — Session token required for account verification and password change.
  - `roles` UserAccessRoles[], required — User access roles.

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api.md) · [All operations](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/posti/posti-developer-portal-backend-rest-api/revisions/4b67dce32742/schema)
