---
updatedAt: 2026-05-11T06:52:42.000Z
agentTools:
  projectIndex: https://platform.simpplr.com/llms.txt
---

# Add or remove a reaction to a feed

This API allows you to add or remove a reaction (like, emoji) to a feed post

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "1.0.0",
    "title": "Simpplr User API Documentation",
    "description": ""
  },
  "x-proxy-enabled": true,
  "tags": [
    {
      "name": "Feed",
      "description": "Everything about Feed"
    }
  ],
  "servers": [
    {
      "url": "https://{endpoint}/v1",
      "variables": {
        "env": {
          "default": "app"
        },
        "endpoint": {
          "default": "platform.app.simpplr.com"
        }
      }
    }
  ],
  "paths": {
    "/wfeed/feeds/{feedId}/reactions": {
      "post": {
        "operationId": "addRemoveReaction",
        "tags": [
          "Feed"
        ],
        "summary": "Add or remove a reaction to a feed",
        "description": "This API allows you to add or remove a reaction (like, emoji) to a feed post",
        "parameters": [
          {
            "name": "feedId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "example": "eb4a3545-05f7-46e8-b17d-107339b6aae6"
            },
            "description": "The ID of the feed to add/remove reaction"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "action": {
                    "type": "string",
                    "enum": [
                      "add",
                      "remove"
                    ],
                    "description": "The action to perform - add or remove a reaction"
                  },
                  "reactionType": {
                    "type": "string",
                    "enum": [
                      "like",
                      "emoji/1F44D",
                      "emoji/2764",
                      "emoji/1F606",
                      "emoji/1F4A1",
                      "emoji/1F64F",
                      "emoji/1F44F",
                      "emoji/2B06"
                    ],
                    "description": "The type of reaction to add or remove.\n- like: Standard like\n- emoji/1F44D: Thumbs up 👍\n- emoji/2764: Love ❤️\n- emoji/1F606: Haha 😆\n- emoji/1F4A1: Insightful 💡\n- emoji/1F64F: Pray 🙏\n- emoji/1F44F: Clapping 👏\n- emoji/2B06: Upvote ⬆️ (only applicable for question feeds)\n"
                  },
                  "createdBy": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Optional UUID of the user performing the reaction (defaults to logged-in user)"
                  }
                },
                "required": [
                  "action",
                  "reactionType"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success response for add/remove reaction",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success",
                      "description": "Response status",
                      "enum": [
                        "success",
                        "error"
                      ]
                    },
                    "result": {
                      "type": "object",
                      "description": "Contains the reaction operation result",
                      "properties": {
                        "action": {
                          "type": "string",
                          "enum": [
                            "add",
                            "remove"
                          ],
                          "example": "add",
                          "description": "The action that was performed"
                        },
                        "reactionType": {
                          "type": "string",
                          "example": "like",
                          "description": "The type of reaction that was added/removed"
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": "Reaction added successfully",
                      "description": "Descriptive message about the operation result"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error response for add/remove reaction",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "error",
                      "description": "Response status",
                      "enum": [
                        "success",
                        "error"
                      ]
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to add/remove reaction",
                      "description": "Descriptive error message about the operation failure"
                    },
                    "errors": {
                      "type": "array",
                      "description": "List of validation or processing errors",
                      "items": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string",
                            "example": "reactionType",
                            "description": "Field that caused the error"
                          },
                          "message": {
                            "type": "string",
                            "example": "Invalid reaction type",
                            "description": "Error message for the specific field"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "Unauthorized": {
        "description": "Authorize error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Missing/Invalid authentication token"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error_code": {
                  "type": "integer",
                  "example": 2001
                },
                "message": {
                  "type": "string",
                  "example": "Something went wrong, please try again"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiAuthSecurity": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://platform.test.simpplr.xyz/v1",
            "scopes": {
              "read": "read data",
              "write": "create/update data",
              "everything": "allow full access"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiAuthSecurity": []
    }
  ]
}
```