# Finish signing in

> Asks whether the person has approved.

<div class="g1t-endpoint"><span class="g1t-method" data-method="post">POST</span><code>/device/token</code></div>

Poll no faster than the interval. The token is returned once.

- **Authentication:** None.
- **MCP tool:** None. Signing in is on the REST API only.

## Body parameters

Send a JSON object. Names are `snake_case`, as in responses; the `camelCase` spelling is accepted too.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `device_code` | string | Yes |  |

## Example request

```sh
curl -X POST https://api.g1t.sh/device/token \
  -H "Content-Type: application/json" \
  -d '{
    "device_code": "Gm3k…"
  }'
```

## Example response

A successful request answers `200` with:

```json
{
  "status": "approved",
  "token": "g1t_…",
  "username": "syntaqx",
  "verified": true
}
```
