Skip to content

Sends a buddy request to a user.

POST
/api/users/{userId}/buddies

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

userId*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

Success.

application/json
JSON
{
"isBuddy": true
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python