POST
/
interactions
curl --request POST \
  --url https://api.pinata.cloud/farcaster/frames/interactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "frame_id": "my-custom-frame",
  "custom_id": "user_123",
  "data": {
    "untrustedData": {
      "fid": 2,
      "url": "https://fcpolls.com/polls/1",
      "messageHash": "0xd2b1ddc6c88e865a33cb1a565e0058d757042974",
      "timestamp": 1706243218,
      "network": 1,
      "buttonIndex": 2,
      "inputText": "hello world",
      "castId": {
        "fid": 226,
        "hash": "0xa48dd46161d8e57725f5e26e34ec19c13ff7f3b9"
      }
    },
    "trustedData": {
      "messageBytes": "d2b1ddc6c88e865a33cb1a565e0058d757042974..."
    }
  }
}'
"OK"

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
frame_id
string
required
custom_id
string
data
object
required

Response

200 - application/json

The response is of type object.