Post a mini app action that has been signed with a developer managed signer
The POST request to the post_url has a timeout of 5 seconds.
curl --request POST \
--url https://api.neynar.com/v2/farcaster/frame/developer_managed/action/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cast_hash": "0x71d5225f77e0164388b1d4c120825f3a2c1f131c",
"action": {
"version": "<string>",
"title": "<string>",
"image": "<string>",
"button": {
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
},
"input": {
"text": "Draw a purple ringed planet"
},
"state": {
"serialized": "%7B%22counter%22%3A1%7D"
},
"transaction": {
"hash": "0xa80de157a3ab4648db1ecfab7e6355b342215bc549f6e37be9e6da527cc024f7"
},
"address": "<string>",
"frames_url": "<string>",
"post_url": "<string>"
},
"signature_packet": {
"untrustedData": {
"fid": 3,
"url": "<string>",
"messageHash": "<string>",
"timestamp": "<string>",
"network": 123,
"buttonIndex": 123,
"inputText": "<string>",
"state": "<string>",
"transactionId": "<string>",
"address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
"castId": {
"fid": 3,
"hash": "<string>"
}
},
"trustedData": {
"messageBytes": "<string>"
}
}
}'
{
"version": "<string>",
"image": "<string>",
"frames_url": "<string>",
"buttons": [
{
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
}
],
"post_url": "<string>",
"title": "<string>",
"image_aspect_ratio": "<string>",
"input": {
"text": "<string>"
},
"state": {
"serialized": "<string>"
}
}
API key to authorize requests
Success
Mini app v1 object
Mini app v1 object
Mini app v2 object
Was this page helpful?
curl --request POST \
--url https://api.neynar.com/v2/farcaster/frame/developer_managed/action/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cast_hash": "0x71d5225f77e0164388b1d4c120825f3a2c1f131c",
"action": {
"version": "<string>",
"title": "<string>",
"image": "<string>",
"button": {
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
},
"input": {
"text": "Draw a purple ringed planet"
},
"state": {
"serialized": "%7B%22counter%22%3A1%7D"
},
"transaction": {
"hash": "0xa80de157a3ab4648db1ecfab7e6355b342215bc549f6e37be9e6da527cc024f7"
},
"address": "<string>",
"frames_url": "<string>",
"post_url": "<string>"
},
"signature_packet": {
"untrustedData": {
"fid": 3,
"url": "<string>",
"messageHash": "<string>",
"timestamp": "<string>",
"network": 123,
"buttonIndex": 123,
"inputText": "<string>",
"state": "<string>",
"transactionId": "<string>",
"address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
"castId": {
"fid": 3,
"hash": "<string>"
}
},
"trustedData": {
"messageBytes": "<string>"
}
}
}'
{
"version": "<string>",
"image": "<string>",
"frames_url": "<string>",
"buttons": [
{
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
}
],
"post_url": "<string>",
"title": "<string>",
"image_aspect_ratio": "<string>",
"input": {
"text": "<string>"
},
"state": {
"serialized": "<string>"
}
}
Post a mini app action that has been signed with a developer managed signer
The POST request to the post_url has a timeout of 5 seconds.
curl --request POST \
--url https://api.neynar.com/v2/farcaster/frame/developer_managed/action/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cast_hash": "0x71d5225f77e0164388b1d4c120825f3a2c1f131c",
"action": {
"version": "<string>",
"title": "<string>",
"image": "<string>",
"button": {
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
},
"input": {
"text": "Draw a purple ringed planet"
},
"state": {
"serialized": "%7B%22counter%22%3A1%7D"
},
"transaction": {
"hash": "0xa80de157a3ab4648db1ecfab7e6355b342215bc549f6e37be9e6da527cc024f7"
},
"address": "<string>",
"frames_url": "<string>",
"post_url": "<string>"
},
"signature_packet": {
"untrustedData": {
"fid": 3,
"url": "<string>",
"messageHash": "<string>",
"timestamp": "<string>",
"network": 123,
"buttonIndex": 123,
"inputText": "<string>",
"state": "<string>",
"transactionId": "<string>",
"address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
"castId": {
"fid": 3,
"hash": "<string>"
}
},
"trustedData": {
"messageBytes": "<string>"
}
}
}'
{
"version": "<string>",
"image": "<string>",
"frames_url": "<string>",
"buttons": [
{
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
}
],
"post_url": "<string>",
"title": "<string>",
"image_aspect_ratio": "<string>",
"input": {
"text": "<string>"
},
"state": {
"serialized": "<string>"
}
}
API key to authorize requests
Success
Mini app v1 object
Mini app v1 object
Mini app v2 object
Was this page helpful?
curl --request POST \
--url https://api.neynar.com/v2/farcaster/frame/developer_managed/action/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cast_hash": "0x71d5225f77e0164388b1d4c120825f3a2c1f131c",
"action": {
"version": "<string>",
"title": "<string>",
"image": "<string>",
"button": {
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
},
"input": {
"text": "Draw a purple ringed planet"
},
"state": {
"serialized": "%7B%22counter%22%3A1%7D"
},
"transaction": {
"hash": "0xa80de157a3ab4648db1ecfab7e6355b342215bc549f6e37be9e6da527cc024f7"
},
"address": "<string>",
"frames_url": "<string>",
"post_url": "<string>"
},
"signature_packet": {
"untrustedData": {
"fid": 3,
"url": "<string>",
"messageHash": "<string>",
"timestamp": "<string>",
"network": 123,
"buttonIndex": 123,
"inputText": "<string>",
"state": "<string>",
"transactionId": "<string>",
"address": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
"castId": {
"fid": 3,
"hash": "<string>"
}
},
"trustedData": {
"messageBytes": "<string>"
}
}
}'
{
"version": "<string>",
"image": "<string>",
"frames_url": "<string>",
"buttons": [
{
"title": "<string>",
"index": 123,
"action_type": "post",
"target": "<string>",
"post_url": "<string>"
}
],
"post_url": "<string>",
"title": "<string>",
"image_aspect_ratio": "<string>",
"input": {
"text": "<string>"
},
"state": {
"serialized": "<string>"
}
}