N Docs
← Back to site

Connection check

1 min readUpdated November 23, 2026

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" }
FieldMeaning
dashboard_urlThe link service’s WordPress site
client_idThe client the key belongs to
activefalse means the account is paused: its links work, but its keys can’t change anything
versionThe edge script version
api_urlThe address to use for the API

Use it to#

  • Test a key when someone pastes it into your app. A 401 means the key is wrong.
  • Follow a new API address. Call it once a day and switch to api_url when it changes.
  • Warn about paused accounts with active: false, before your app tries to make links.