cURL
curl --request POST \ --url https://app.d-sports.org/api/user/follow \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "targetUserId": "<string>" } '
Clerk session token. Use Authorization: Bearer .
{ success: true, data: { follow, counts: { targetUserFollowers, currentUserFollowing } } }
Was this page helpful?