Finish signing in
Asks whether the person has approved.
POST
/device/tokenPoll 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
Section titled “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
Section titled “Example request”curl -X POST https://api.g1t.sh/device/token \ -H "Content-Type: application/json" \ -d '{ "device_code": "Gm3k…" }'Example response
Section titled “Example response”A successful request answers 200 with:
{ "status": "approved", "token": "g1t_…", "username": "syntaqx", "verified": true}