API & Integrations

5 articles

The LinkDevi API allows you to create and manage short links programmatically from your own applications, scripts, or automation workflows. API access is available on the Pro plan and above.

To get your API key, log in to your LinkDevi dashboard and navigate to Settings from the left sidebar. Click the "API" tab to access your API management page. If you have not generated a key before, you will see a "Generate API Key" button.

Click "Generate API Key" to create your first key. A dialog appears asking you to name the key (for example, "Production" or "My App") and select the permissions it should have. Available permissions include "Read" (view links and analytics), "Write" (create and edit links), and "Delete" (remove links). Choose the minimum permissions needed for your use case.

After clicking "Create", your API key is displayed once. Copy it immediately and store it in a secure location such as a password manager or environment variable. For security reasons, the full key is never shown again after you close the dialog. If you lose your key, you will need to revoke it and generate a new one.

You can manage multiple API keys from the same settings page. Each key can have different permissions and a descriptive name. This is useful if you use the API from multiple applications and want to limit each application's access. To revoke a key, click the three-dot menu next to it and select "Revoke". The key stops working immediately.