---
title: "Follow or unfollow a user"
method: POST
path: "/users/{username}/toggle_follow"
tags: ["Social"]
---

# Follow or unfollow a user

`POST /users/{username}/toggle_follow`

## Path parameters

- `username` string, required

## Response `200`

Success

- SuccessResponse
  - `success` string

## Changes

- **2026-02-24** `3c57979a295f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/users/:username/toggle_follow/post.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/eea2ec5b84be/schema)
