POST
/
farcaster
/
signer
/
developer_managed
/
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 '{
  "app_fid": 18949,
  "deadline": 1693627665,
  "public_key": "0x3daa8f99c5f760688a3c9f95716ed93dee5ed5d7722d776b7c4deac957755f22",
  "signature": "0xe5d95c391e165dac8efea373efe301d3ea823e1f41713f8943713cbe2850566672e33ff3e17e19abb89703f650a2597f62b4fda0ce28ca15d59eb6d4e971ee531b"
}'
{
  "public_key": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "status": "pending_approval",
  "signer_approval_url": "<string>",
  "fid": 3
}

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
public_key
string
required

Public key of the signer. For better security, private/public keys should not be re-used on the same account or across accounts

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

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

Application FID

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

200
application/json
Successful operation
public_key
string
required

Ed25519 public key

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

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

The unique identifier of a farcaster user (unsigned integer)

Example:

3