POST /v1/follows
Service: community · operationId: (none)
Required scopes
(no scope declared — review service config)
Request body
{
"type": "object",
"properties": {
"target_user_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"target_user_id"
]
}Responses
201 Follow created (or already exists)
{
"type": "object",
"properties": {
"follower_id": {
"type": "string"
},
"followed_id": {
"type": "string"
},
"created_at": {
"type": "string"
}
},
"required": [
"follower_id",
"followed_id",
"created_at"
]
}400 Validation error (e.g. cannot follow self)
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X POST https://community.platform.loop.health/v1/follows \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Related
services/community— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced