latestOpenAPI 3.1.02026-08-20222180275.5 KB
39e293adecd1
friends
Accept Friend Request
Accept a friend request by ID.
Args: request_id: ID of the friend request current_user: Current authenticated user from dependency
Returns: Dict with success status and friendship details
post/api/friends/request/accept/{request_id}
Path parameters
request_idstring required
Query parameters
enable_grantsboolean
Headers
x-user-idstring nullable
Response
Successful Response
object required