POST
/
v2
/
farcaster
/
signer
/
developer_managed
/
signed_key
/
Register Signed Key
curl --request POST \
  --url https://api.neynar.com/v2/farcaster/signer/developer_managed/signed_key/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "public_key": "0x3daa8f99c5f760688a3c9f95716ed93dee5ed5d7722d776b7c4deac957755f22",
  "signature": "0x7867e84cb6a64bf6e1954e52884133f1114eb3fd97f63ff55fa76c77c80beb6434eea9d3736b59caa3130d63121177acc752dc8a2561e9edf700642f390f92d11b",
  "app_fid": 3,
  "deadline": 123,
  "redirect_url": "<string>",
  "sponsor": {
    "fid": 3,
    "signature": "<string>",
    "sponsored_by_neynar": true
  }
}'
{
  "public_key": "0x3daa8f99c5f760688a3c9f95716ed93dee5ed5d7722d776b7c4deac957755f22",
  "status": "pending_approval",
  "signer_approval_url": "<string>",
  "fid": 3
}

Public key should be unique, do not reuse the public key on the same account or across accounts

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
public_key
string
required

Ed25519 public key

Example:

"0x3daa8f99c5f760688a3c9f95716ed93dee5ed5d7722d776b7c4deac957755f22"

signature
string
required

Signature generated by the custody address of the app. Signed data includes app_fid, deadline, signer's public key

Example:

"0x7867e84cb6a64bf6e1954e52884133f1114eb3fd97f63ff55fa76c77c80beb6434eea9d3736b59caa3130d63121177acc752dc8a2561e9edf700642f390f92d11b"

app_fid
integer
required

The unique identifier of a farcaster user or app (unsigned integer)

Required range: x >= 0
Example:

3

deadline
integer
required

unix timestamp in seconds that controls how long the signed key request is valid for. (24 hours from now is recommended)

redirect_url
string

Url to redirect to after the signer is approved. Note : This should only be used when requesting a signer from a native mobile application.

sponsor
object

Response

Success

public_key
string
required

Ed25519 public key

Example:

"0x3daa8f99c5f760688a3c9f95716ed93dee5ed5d7722d776b7c4deac957755f22"

status
enum<string>
required
Available options:
pending_approval,
approved,
revoked
signer_approval_url
string
fid
integer

The unique identifier of a farcaster user or app (unsigned integer)

Required range: x >= 0
Example:

3