# Rest_Controller::toggle_topic_reaction()

Toggle a reaction on the topic opening post.

Kept for existing integrations; it now calls Social Kit's shared reactions service. New code should use
`POST clanbite-social-kit/v1/reactions/forum_topic/{id}`.

```php
toggle_topic_reaction( WP_REST_Request $request )
```

## Parameters

- `$request` (WP_REST_Request<string, mixed>) Request.

## Return

`\WP_REST_Response|WP_Error` 

## Changelog

| Version | Description |
| --- | --- |
| 1.3.5 | Updated |
