Skip to main content
The Limitly SDK uses API key authentication to interact with the Limitly API.

API Key Setup

To use the SDK, you need a Limitly API key. You can get one from your Limitly Dashboard.

Basic Authentication

Initialize the SDK with your API key:

Environment Variables

For security, store your API key in environment variables:
Then use it in your application:

Express.js Example

Here’s how to use authentication in an Express.js application:

Error Handling

The SDK provides comprehensive error handling:

Next Steps