The eSMS Links REST API lets you create and manage links, QR codes and analytics from your own code. You authenticate with an API key.
Create a key
- Open API Keys and click New key.
- Name it, choose Live or Test, and create it.
- Copy the key immediately — it's shown only once. It looks like
esms_l_…(test keys areesms_l_test_…).
Use it
curl -X POST https://links.esmsafrica.io/v1/links \
-H "Authorization: Bearer esms_l_your_key" \
-H "Content-Type: application/json" \
-d '{"destination_url":"https://example.com/launch","alias":"launch"}'
Keys can be scoped to links:read or links:write — give each key the least access it needs. Full API reference: docs.esmsafrica.io/docs/links.