---
title: "X OAuth2 callback (redirect)"
method: GET
path: "/v1/claim/x/callback"
tags: ["Claims"]
---

# X OAuth2 callback (redirect)

`GET /v1/claim/x/callback`

## Request

- Base URL: `https://api.thrd.email`
- URL: `https://api.thrd.email/v1/claim/x/callback`
- Auth: none declared

Exchanges code, searches latest tweets for challenge, then redirects to thrd.email claim success/failure pages.

## Query parameters

- `code` string, required
- `state` string, required

## Other responses

- `302`: Redirect to web claim result

---

[API](https://skmtc.dev/thrd/apis/thrd-agent-email-api.md) · [All operations](https://skmtc.dev/thrd/apis/thrd-agent-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thrd/apis/thrd-agent-email-api/revisions/d8a88129cd34?raw)
