Connection check
GET /api/connection checks a key and says where things are. The client plugin uses it to find the dashboard and your API address. Your own apps can use it the same way.
Request#
curl https://api.yourbrand.com/api/connection -H 'Authorization: Bearer nl_live_…' Answer#
{ "dashboard_url": "https://yourbrand.com/", "client_id": 1, "active": true, "version": "1.13.0", "api_url": "https://api.yourbrand.com" } | Field | Meaning |
|---|---|
dashboard_url | The link service’s WordPress site |
client_id | The client the key belongs to |
active | false means the account is paused: its links work, but its keys can’t change anything |
version | The edge script version |
api_url | The address to use for the API |
Use it to#
- Test a key when someone pastes it into your app. A
401means the key is wrong. - Follow a new API address. Call it once a day and switch to
api_urlwhen it changes. - Warn about paused accounts with
active: false, before your app tries to make links.


