---
title: "Toggle Tutorial Like"
method: POST
path: "/v1/tutorials/like"
tags: ["tutorials"]
---

# Toggle Tutorial Like

`POST /v1/tutorials/like`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/v1/tutorials/like`
- Auth: none declared

Toggle a like for a tutorial anonymously using a browser-generated user_id.

## Request body

- TutorialLikeRequest
  - `tutorial_path` string, required
  - `user_id` string, required
  - `action` 'like' | 'dislike', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
