POST
/
v2
/
farcaster
/
reaction
/
Post a reaction
curl --request POST \
  --url https://api.neynar.com/v2/farcaster/reaction/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "signer_uuid": "19d0c5fd-9b33-4a48-a0e2-bc7b0555baec",
  "reaction_type": "like",
  "target": "0x3702ec1b298bb7ac6f00346432d959ad7b05b9a8 -OR- http://neynar.com/",
  "target_author_fid": 3,
  "idem": "<string>"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
signer_uuid
string
required

UUID of the signer. signer_uuid is paired with API key, can't use a uuid made with a different API key.

Example:

"19d0c5fd-9b33-4a48-a0e2-bc7b0555baec"

reaction_type
enum<string>
required
Available options:
like,
recast
target
string
required

Target cast hash (hex string starting with 0x) OR a valid URL.

Example:

"0x3702ec1b298bb7ac6f00346432d959ad7b05b9a8 -OR- http://neynar.com/"

target_author_fid
integer

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

Required range: x >= 0
Example:

3

idem
string

An Idempotency key is a unique identifier for the request. Note:

  1. This is used to prevent duplicate requests. Use the same idem key on retry attempts.
  2. This should be a unique identifier for each request.
  3. Recommended format is a 16-character string generated by the developer at the time of making this request.

Response

Success

success
boolean
message
string