Skip to main content
POST
/
v2
/
studio
/
deployment
/
account-association
Set account association
curl --request POST \
  --url https://api.neynar.com/v2/studio/deployment/account-association \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "fid": 1,
  "name": "<string>",
  "account_association": {
    "header": "<string>",
    "payload": "<string>",
    "signature": "<string>"
  }
}'
{
  "success": true,
  "message": "<string>"
}
The Miniapp Studio API is an allowlisted API and not publicly available. Contact the Neynar team for more information.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
fid
integer | null
required

Farcaster ID of the user

Required range: x >= 0
name
string
required

Kubernetes deployment name

account_association
object
required

Signed domain association linking this deployment to a Farcaster account

Response

Success

success
boolean
required
message
string
required

Status message from the miniapp generator

I