v4

latestOpenAPI 3.1.02026-08-08221179273.1 KB
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