POST https://api.fliq.sh/jobs
Authorization: Bearer <your-token>
Content-Type: application/json
{
"url": "https://yourapp.com/api/charge",
"http_method": "POST",
"scheduled_at": "2026-04-01T00:00:00Z",
"max_retries": 3
}
const res = await fetch("https://api.fliq.sh/jobs", {
method: "POST",
headers: {
"Authorization": "Bearer <your-token>",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://yourapp.com/api/charge",
http_method: "POST",
scheduled_at: "2026-04-01T00:00:00Z",
max_retries: 3,
}),
});
const job = await res.json();
console.log(job.id); // job created
import httpx
res = httpx.post(
"https://api.fliq.sh/jobs",
headers={"Authorization": "Bearer <your-token>"},
json={
"url": "https://yourapp.com/api/charge",
"http_method": "POST",
"scheduled_at": "2026-04-01T00:00:00Z",
"max_retries": 3,
},
)
job = res.json()
print(job["id"]) # job created
curl -X POST https://api.fliq.sh/jobs \
-H "Authorization: Bearer <your-token>" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yourapp.com/api/charge",
"http_method": "POST",
"scheduled_at": "2026-04-01T00:00:00Z",
"max_retries": 3
}'