---
title: "Siwn Callback"
method: POST
path: "/v2/farcaster/siwn/callback"
tags: ["Farcaster"]
---

# Siwn Callback

`POST /v2/farcaster/siwn/callback`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/farcaster/siwn/callback`
- Auth: HTTP bearer

Complete a SIWN connect: verify the approved signer server-side and
persist the Farcaster credential for the logged-in profile.

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Request body

- SiwnCallbackRequest
  - `signer_uuid` string, required
  - `fid` integer, nullable

## Response `200`

Successful Response

- FarcasterConnectResponse
  - `status` string, required
  - `credential_id` string, required
  - `fid` string, required
  - `account_username` string, nullable
  - `verified_primary_address` string, nullable
  - `verified_eth_addresses` string[], nullable
  - `custody_address` string, nullable
  - `payout_wallet_assigned` boolean
  - `payout_wallet_address` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
