---
title: "Finish a sign-in"
method: POST
path: "/v1/auth/sign-in/code/{appId}"
tags: ["auth"]
---

# Finish a sign-in

`POST /v1/auth/sign-in/code/{appId}`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/v1/auth/sign-in/code/{appId}`
- Auth: none declared. Required headers: `origin`

Converts an access token into a login code for the address the server recorded for this sign-in, or the app's default callback.

## Path parameters

- `appId` string, required

## Headers

- `origin` string, required

## Response `200`

{ code, redirectUri }

## Other responses

- `401`: Invalid access token or mismatched app

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
