POST
/
casts
/
{hash}
/
reactions
/
{type}
curl --request POST \
  --url https://api.pinata.cloud/v3/farcaster/casts/{hash}/reactions/{type} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "data": {
      "type": "MESSAGE_TYPE_REACTION_ADD",
      "fid": 401191,
      "timestamp": 102564007,
      "network": "FARCASTER_NETWORK_MAINNET",
      "castAddBody": {
        "embedsDeprecated": null,
        "mentions": null
      }
    },
    "hash": "0xe1d3327a7d00a23e76207bbf8ef6ca17b9c39d9c",
    "hashScheme": "HASH_SCHEME_BLAKE3",
    "signature": "AYW+pBiRxszYDilJ2RUkeNarIgzUDFpuYc5cSlGk2lSgVa4yubiqfqArsqHxIXtzjRgHODN8E8qGClyuxMkbAg==",
    "signatureScheme": "SIGNATURE_SCHEME_ED25519",
    "signer": "0x86367a36c3c181c46acdc6027109dbaa75c5fbc97c500af23f1ea8c987f12375",
    "dataBytes": "CAMQp74YGKeB9DAgATodCAESGQiHLxIUXmEW6DZ0a7AmSyF0NfZmjZySWb0="
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

hash
string
required

Hash for the target cast

Example:

"0x5e6116e836746bb0264b217435f6668d9c9259bd"

type
string
required

The type of reaction, can be either "like" or "recast"

Example:

"like"

Query Parameters

signerId
string
required

Signer ID for the user that will react to the cast

Example:

"e5cf5d84-7671-4402-8df0-84b0efdc24cd"

Response

200 - application/json

OK

The response is of type object.

POST
/
casts
/
{hash}
/
reactions
/
{type}
curl --request POST \
  --url https://api.pinata.cloud/v3/farcaster/casts/{hash}/reactions/{type} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "data": {
      "type": "MESSAGE_TYPE_REACTION_ADD",
      "fid": 401191,
      "timestamp": 102564007,
      "network": "FARCASTER_NETWORK_MAINNET",
      "castAddBody": {
        "embedsDeprecated": null,
        "mentions": null
      }
    },
    "hash": "0xe1d3327a7d00a23e76207bbf8ef6ca17b9c39d9c",
    "hashScheme": "HASH_SCHEME_BLAKE3",
    "signature": "AYW+pBiRxszYDilJ2RUkeNarIgzUDFpuYc5cSlGk2lSgVa4yubiqfqArsqHxIXtzjRgHODN8E8qGClyuxMkbAg==",
    "signatureScheme": "SIGNATURE_SCHEME_ED25519",
    "signer": "0x86367a36c3c181c46acdc6027109dbaa75c5fbc97c500af23f1ea8c987f12375",
    "dataBytes": "CAMQp74YGKeB9DAgATodCAESGQiHLxIUXmEW6DZ0a7AmSyF0NfZmjZySWb0="
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

hash
string
required

Hash for the target cast

Example:

"0x5e6116e836746bb0264b217435f6668d9c9259bd"

type
string
required

The type of reaction, can be either "like" or "recast"

Example:

"like"

Query Parameters

signerId
string
required

Signer ID for the user that will react to the cast

Example:

"e5cf5d84-7671-4402-8df0-84b0efdc24cd"

Response

200 - application/json

OK

The response is of type object.