ExchangeRequest
codestringrequired
The pairing code issued in the dashboard.
sitestring<uri>required
The site's address (home_url() in WordPress). It must be the address the code was issued for.
Example:
https://loja.example.comsiteUrlstringdeprecated
Deprecated. The same address, under the name the WordPress plugin sent up to 2.4.x. Read only when site is absent.
installation object
Optional. Identifies the installation, with no environment data.
idstring
A stable identifier of the installation.
Possible values: <= 100 characters
clientstring
Who is asking for the key, for example wordpress-plugin.
Possible values: <= 40 characters
ExchangeRequest
{
"code": "string",
"site": "https://loja.example.com",
"installation": {
"id": "string",
"client": "string"
}
}