The follow system lets ECHO users subscribe to creators and other accounts. Follower and following counts are publicly readable without authentication, so any client can display audience size on a profile. Actions that change follow state — following or unfollowing a user — require a valid JWT token. A user cannot follow themselves; the API will reject such requests.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HelenaLM32/ECHO/llms.txt
Use this file to discover all available pages before exploring further.
The base URL for all endpoints on a local development server is
http://localhost:8084. Replace this with your deployed API URL in production.Get follow stats
Path parameters
The numeric ID of the user whose follow stats to retrieve.
Example
Response fields
The number of users following the given user.
The number of users the given user is following.
Example response
Error codes
| Status | Meaning |
|---|---|
404 | No user found with the given ID. |
Check if following
Path parameters
The numeric ID of the user to check against.
Authentication
Requires a valid JWT Bearer token.Example
Response fields
true if the authenticated user follows the specified user, false otherwise.Example response
Error codes
| Status | Meaning |
|---|---|
401 | No valid token provided. |
404 | No user found with the given ID. |
Follow a user
Path parameters
The numeric ID of the user to follow.
Authentication
Requires a valid JWT Bearer token.Example
Error codes
| Status | Meaning |
|---|---|
400 | The authenticated user attempted to follow themselves. |
401 | No valid token provided. |
404 | No user found with the given ID. |
409 | The authenticated user is already following this user. |
Unfollow a user
Path parameters
The numeric ID of the user to unfollow.
Authentication
Requires a valid JWT Bearer token.Example
Error codes
| Status | Meaning |
|---|---|
401 | No valid token provided. |
404 | No follow relationship found for the given user ID. |