Path Parameters
ID of the user to follow
Response
Unique identifier for the follow relationship
ID of the user who is following (current authenticated user)
ID of the user being followed
Timestamp when the follow relationship was created
Error Responses
Invalid User ID - 400 Bad Request
Invalid User ID - 400 Bad Request
Self-Follow Attempt - 400 Bad Request
Self-Follow Attempt - 400 Bad Request
User Not Found - 404 Not Found
User Not Found - 404 Not Found
Already Following - 409 Conflict
Already Following - 409 Conflict
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- This endpoint creates a
Follow
relationship in the database - Follows are one-way relationships that do not require approval
- Users cannot follow themselves
- Duplicate follow requests return a 409 status
- Rate limiting: 75 requests per 5 minutes