Getting Started
It takes less than 5 minutes to get up and running with Zeplo.
1. Create an account
Sign up for a free account. You’ll get 500 requests/month on the free plan.
2. Create a workspace
After signing up, you’ll be guided through creating your first workspace. Workspaces let you organize queues and collaborate with your team.
3. Get your API token
Open Tokens in the dashboard and create an API token. You’ll use this to authenticate API requests. Set it as ZEPLO_TOKEN in your server environment.
4. Create a queue
Create your first queue from the dashboard, or via the API:
curl -X POST "https://api.zeplo.io/workspaces/YOUR_WORKSPACE_ID/queues" \
-H "Authorization: Bearer ${ZEPLO_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"name": "my-queue",
"type": "standard"
}'
5. Enqueue your first request
Send a request to Zeplo’s public enqueue endpoint. The queue is resolved from your token:
curl -X POST "https://api.zeplo.io/queues/enqueue" \
-H "Authorization: Bearer ${ZEPLO_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"method": "POST",
"url": "https://httpbin.org/post",
"headers": {"Content-Type": "application/json"},
"body": "{\"hello\": \"world\"}"
}'
Visit the dashboard to see your request appear in the queue with its execution status.
Node.js example
const response = await fetch('https://api.zeplo.io/queues/enqueue', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.ZEPLO_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
method: 'POST',
url: 'https://your-api.com/webhook',
body: JSON.stringify({ event: 'user.created', userId: 42 }),
}),
})