Skip to main content
POST
Ask someone to be friends, or accept their request

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Body

application/json
username
string
required
Required string length: 1 - 64
Example:

"mira"

Response

Where it stands

friendship
enum<string>
required

friends; requested: you asked them; incoming: they asked you; none.

Available options:
none,
friends,
requested,
incoming