---
title: "Poll a pending login"
method: POST
path: "/api/v1/auth/poll/{token}"
tags: ["Auth"]
---

# Poll a pending login

`POST /api/v1/auth/poll/{token}`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/auth/poll/{token}`
- Auth: none required

## Path parameters

- `token` string, required

## Response `200`

OK

- TokenResponse: TokenResponse schema
  - `token` string

## Other responses

- `202`: The login is still pending
- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
