---
title: "Confirm O Auth2 Login"
method: POST
path: "/v3.0/end-users/confirm-code/"
tags: ["end-users"]
---

# Confirm O Auth2 Login

`POST /v3.0/end-users/confirm-code/`

## Request

- Base URL: `https://api.formaloo.me`
- URL: `https://api.formaloo.me/v3.0/end-users/confirm-code/`
- Auth: none declared. Required headers: `x-api-key`

## Headers

- `x-api-key` string, required

## Request body

- ConfirmOAuth2LoginRequest
  - `code` string, required: The code sent by OAuth2 server.
  - `state` string, required: The state code sent back by the OAuth2 server.
  - `redirect_uri` string: Optional redirect uri, if you're using a non-default uri.

## Response `201`

- ConfirmOAuth2Login
  - `code` string, required: The code sent by OAuth2 server.
  - `state` string, required: The state code sent back by the OAuth2 server.
  - `redirect_uri` string: Optional redirect uri, if you're using a non-default uri.

---

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