Skip to content
Search
K
Main Navigation
Guide
Rest API
Wiki
Appearance
Menu
Return to top
Sends a buddy request to a user.
POST
/api/users/{userId}/buddies
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
userId
*
Type
string
Required
Pattern
"[1-9][0-9]*"
Responses
200
400
401
Success.
Content-Type
application/json
Schema
JSON
JSON
{
"isBuddy"
:
true
}
POST
/api/users/{userId}/buddies
Playground
Authorization
api_key
Variables
Key
Value
userId
*
Try it out
Samples
cURL
JavaScript
PHP
Python
cURL
JavaScript
PHP
Python