---
title: "Connect Fid"
method: POST
path: "/v2/farcaster/connect-fid"
tags: ["Farcaster"]
---

# Connect Fid

`POST /v2/farcaster/connect-fid`

## 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/connect-fid`
- Auth: HTTP bearer

Connect a Farcaster FID for INBOUND auto-tokenise, directly from the
mini-app's SIWE-verified context — no SIWN redirect, no signer.

Cast delivery depends only on the FID being present in the Neynar webhook's
author_fids filter (sync_farcaster_webhook_authors) + an active credential
row (fid -> profile_id); SIWN's signer is only needed for OUTBOUND
publishing. This endpoint creates the inbound-only credential and syncs the
filter. Auth is the mini-app jj_ session token (get_current_user), NOT the
Firebase cookie the SIWN callback uses.

## 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

- ConnectFidRequest
  - `fid` integer, required
  - `quick_auth_token` string, nullable

## Response `200`

Successful Response

- ConnectFidResponse
  - `connected` boolean, required
  - `fid` string, required
  - `already_connected` boolean, required
  - `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)
