Trade a pairing code for a key
https://api.joinotify.com/keys/exchangeThe 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
The pairing code issued in the dashboard.
The site's address (home_url() in WordPress). It must be the address the code was issued for.
Deprecated. The same address, under the name the WordPress plugin sent up to 2.4.x. Read only when site is absent.
Optional. Identifies the installation, with no environment data.