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 '
{
  "name": "<string>",
  "account_association": {
    "header": "<string>",
    "payload": "<string>",
    "signature": "<string>"
  },
  "fid": 3,
  "namespace": "<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
name
string
required

Kubernetes deployment name

account_association
object
required

Signed domain association linking this deployment to a Farcaster account

fid
integer<int32>

Farcaster ID of the user; if not provided, namespace must be provided

Required range: x >= 0
Example:

3

namespace
string

Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.

Response

Success

success
boolean
required
message
string
required

Status message from the miniapp generator