Prerequisites
Before you begin, you’ll need:- A Lightyshare account - Sign up at lightyshare.com
- An API token - Generate one from your dashboard
- A REST client - Use cURL, Postman, or any HTTP client
Step 1: Get Your API Token
Generate an API token
Generate an API token
- Log in to your Lightyshare dashboard
- Navigate to Settings → API Tokens
- Click “Create New Token”
- Give your token a descriptive name
- Copy the token - you won’t be able to see it again!
Keep your API token secure and never share it publicly.
Step 2: Make Your First API Call
Let’s retrieve information about one of your products:Step 3: Create Your First Product
Now let’s create a new product:Common Use Cases
Product Management
Create, update, and manage your rental products
Bundle Creation
Group related products into rental packages
Rental Access
View and manage active rentals
Error Handling
Learn how to handle API errors gracefully
API Versioning
Lightyshare uses date-based versioning. Your API token is automatically tied to the latest version when created. You can override the version per request:Rate Limits
The API has the following rate limits:- Standard tier: 100 requests per minute
- Pro tier: 500 requests per minute
- Enterprise: Custom limits
Rate limit information is returned in response headers:
X-RateLimit-Limit
, X-RateLimit-Remaining
, and X-RateLimit-Reset
.Next Steps
1
Explore the API Reference
Check out the complete API documentation for all available endpoints.
2
Learn Core Concepts
Understand authentication, versioning, and security.
3
Try Examples
See practical examples for creating products and handling errors.
Need Help?
- Check our API Reference for detailed endpoint documentation
- Contact support for assistance
- View the OpenAPI specification for complete API details