Joinotify

Trade a pairing code for a key

POSThttps://api.joinotify.com/keys/exchange
No API key

The site presents the code issued in the dashboard and receives its own API key. Server-to-server, with no prior credential — the code is the credential, single use.

The key comes bound to the site (siteId) with the permissions of a connected site. A code that does not exist, has expired, was already used or was issued for another address, and an invalid body, all get the same answer, 401 pairing_invalid: from outside, one case cannot be told from another. Limited to 20 attempts every 10 minutes per IP.

Body Paramsapplication/json

1 required3 optional

stringrequired

The pairing code issued in the dashboard.

string<uri>optional

The site's address (home_url() in WordPress). It must be the address the code was issued for.

stringoptionaldeprecated

Deprecated. The same address, under the name the WordPress plugin sent up to 2.4.x. Read only when site is absent.

objectoptional

Optional. Identifies the installation, with no environment data.

Responses