API Documentation
Build integrations with the GifyLabs REST API. All endpoints use JSON and require HTTPS.
Quick Start
1.
Get API Token
Sign up or log in to receive a JWT token. Include it in the Authorization header.
2.
Create a Timer
Use the POST /timers endpoint with your target date and template.
3.
Embed in Email
Copy the image URL from the response and add it to your email HTML.
Authentication Header
Authorization: Bearer YOUR_TOKENRate Limits
Free
10 req/s
Starter
25 req/s
Pro
50 req/s
Business
100 req/s
Endpoints
Authentication
Embedding Timers
After creating a timer, embed it in your emails using a simple image tag:
<img src="https://cdn.gifylabs.com/render/YOUR_TIMER_ID"
alt="Countdown Timer"
width="600"
style="max-width: 100%; height: auto;" />The timer image is dynamically generated as a GIF and updates on each email open.
Error Codes
| Status | Meaning |
|---|---|
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 409 | Conflict |
| 429 | Too Many Requests |
| 500 | Server Error |
Webhooks & Zapier
Set up real-time event notifications with webhooks. Works with Zapier.
Configure Webhooks