v4
latestOpenAPI 3.1.02026-08-08221179273.1 KBfriends
Auto Add Friend
Directly add a user as a friend without a request/accept flow.
The caller is the receiver — they include the sender_id (the user who shared their ID). The sender receives the notification.
post/api/friends/auto-add/{sender_id}
Path parameters
sender_idstring required
Headers
x-user-idstring nullable
Response
Successful Response
object required