Authentication
Every request carries an API key in the Authorization header:
GET /api/public/v1/... HTTP/1.1
Host: api.lynked.ie
Authorization: Bearer lk_live_...
About keys#
- Create keys in the Lynked dashboard. A key is shown only once, when it is created. Afterwards
the dashboard shows only its name and a hint (the first two and the last four characters, e.g.
lk_live_a1…xY9z). - Keys do not expire. Revoke a key in the dashboard when you no longer need it or think it leaked.
- A key can do everything the API offers, within your business.
- You can have several keys at once. To rotate: create a new key, switch your server to it, then revoke the old one — no downtime.
Check a key#
GET /api/public/v1/me returns the business and the name of the key, so you can check that a key
works:
curl https://api.lynked.ie/api/public/v1/me \
-H "Authorization: Bearer lk_live_..."
Failed authentication#
A missing, invalid or revoked key gets 401 Unauthorized. If the Public API is disabled for your
business, every request gets 403 Forbidden. See Errors and rate limits.