Skip to main content
POST
Follow User
Creates a follow relationship from the authenticated user to the specified user. A notification is sent to the followed user.

Path Parameters

userId
string
required
The Sublay user ID (UUID) of the user to follow.

Response

On success, returns HTTP 201 with the created follow record:
id
string
Unique follow record ID (UUID).
followerId
string
ID of the user who followed (the authenticated user).
followedId
string
ID of the user being followed.
createdAt
string
ISO timestamp of when the follow was created.

Error Responses

See Also