---
title: "POST /v1alpha1/auth/approve_token"
method: POST
path: "/v1alpha1/auth/approve_token"
tags: ["AuthService"]
---

# POST /v1alpha1/auth/approve_token

`POST /v1alpha1/auth/approve_token`

Handle manual approval of external authorization requets

## Request body

- ApproveTokenRequest
  - `deviceId` string — The device id used to handle the approval requestion
  - `sessionId` string — The session id related to the token that needs to be approved
  - `otp` string — The OTP sent to the device related to the request
  - `approve` boolean — The action made by the user (true: allow the token, false: deny the token)

## Response `200`

OK

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/agntcy/apis/agntcy-identity-service-api.md) · [All operations](https://skmtc.net/agntcy/apis/agntcy-identity-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agntcy/agntcy-identity-service-api/revisions/1dc8f8328648/schema)
