---
title: "Complete X OAuth and claim quest"
method: POST
path: "/quests/connect-x"
tags: ["quests"]
---

# Complete X OAuth and claim quest

`POST /quests/connect-x`

## Request body

- InternalHandlersConnectXRequest
  - `code` string
  - `oauth_token` string
  - `oauth_verifier` string
  - `state` string

## Response `200`

OK

- InternalHandlersConnectXResponse
  - `already_linked` boolean
  - `balance` integer
  - `reward_points` integer
  - `username` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.dev/grambo/apis/grambo-api.md) · [All operations](https://skmtc.dev/grambo/apis/grambo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/grambo/grambo-api/revisions/5d88d65e212e/schema)
