← Servers, deploying and APIs

Lesson 16 of 20 · Learn · 12 min

3.2 Lynk's API and your keys

Where things are

WhatWhere
The API documentationlynkinfra.com/developers
Keys for SMS, email, WhatsApp, Lynk AI and picturesDeveloper tools (lynkinfra.com/developers → Get an API key) → API keys
Keys for paymentsLynk Pay → Developers (sk_test_… and sk_live_…)
Webhooks (Lynk tells your app a payment came in)Lynk Pay → Developers; the address must be https://

Make an account key

  1. Go to lynkinfra.com/developers and click Get an API key. Developer tools opens, with API keys.
  2. Key name: what it's for (Reminder texts).
  3. What can this key use? Tick only what the app needs: sms, email, whatsapp, ai, images.
  4. Click Create key and copy it now: it won't be shown again.

Rules for keys

  • One key per app, with only what it needs.
  • Keys live on the server, in a file only the app reads. Never in a website, a phone app, a screenshot or a chat.
  • Lost or leaked? Make a new key, put it in the app, and delete the old one.
  • What the API sends is paid from the Lynk account that owns the key.
Next lesson

Sign in to save your progress and earn the certificate.

3.1 What an API is