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}
Request
- Base URLhttps://api.usecreed.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
request_idstring required
Query parameters
enable_grantsboolean
Headers
x-user-idstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 23 revisions of this API.