POST
/
v2
/
studio
/
deployment
/
account-association
Set the account association for a deployed miniapp
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,
  "deployment_name": "<string>",
  "account_association": {
    "header": "<string>",
    "payload": "<string>",
    "signature": "<string>"
  }
}'
{
  "success": true,
  "message": "<string>"
}

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