---
title: "POST /api/songs/{id}/ratings"
method: POST
path: "/api/songs/{id}/ratings"
tags: ["SongApi"]
---

# POST /api/songs/{id}/ratings

`POST /api/songs/{id}/ratings`

## Request

- Base URL: `https://vocadb.net` (the document declares no server; this is the origin it was published from)
- URL: `https://vocadb.net/api/songs/{id}/ratings`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vocadb/apis/vocadbweb/docs/api/songs/:id/ratings/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Request body

- SongRatingContract
  - `rating` 'Nothing' | 'Dislike' | 'Like' | 'Favorite'

## Response `200`

Success

---

[API](https://skmtc.dev/vocadb/apis/vocadbweb.md) - [All operations](https://skmtc.dev/vocadb/apis/vocadbweb/llms.txt) - [OpenAPI document](https://skmtc.dev/vocadb/apis/vocadbweb/revisions/d1328dfaa36f?raw)
