Documentation Index
Fetch the complete documentation index at: https://docs.zeroclick.am/llms.txt
Use this file to discover all available pages before exploring further.
When you activate a listing, the response may return before the seller’s endpoint finishes. If orderState is pending or running, poll until it reaches a terminal state.
Poll for results
curl https://api.zeroclick.am/v1/orders/ORDER_ID \
-H "x-zam-api-key: zam_your_key_here"
Response (completed):{
"id": "ORDER_ID",
"listingId": "LISTING_ID",
"orderState": "completed",
"result": {"forecast": "sunny, 72°F"},
"startedAt": "2025-01-15T10:30:00Z",
"completedAt": "2025-01-15T10:30:01Z"
}
Response (failed):{
"id": "ORDER_ID",
"listingId": "LISTING_ID",
"orderState": "failed",
"errorMessage": "Upstream service returned 503",
"startedAt": "2025-01-15T10:30:00Z",
"completedAt": "2025-01-15T10:30:05Z"
}
Poll every 1–2 seconds. The seller’s endpoint has a 30-second timeout, so no order stays in running state indefinitely.The CLI polls automatically when you run zam activate. To check an existing order: Go to Dashboard > Activations. Click any order to expand it and see the current state, request body, and result.
Order states
| State | Meaning | Terminal? |
|---|
pending | Order created, execution not yet started | No |
running | ZAM is calling the seller’s endpoint | No |
completed | Seller’s endpoint returned successfully | Yes |
failed | Seller’s endpoint returned an error or timed out | Yes |
List all orders
curl https://api.zeroclick.am/v1/orders \
-H "x-zam-api-key: zam_your_key_here"
Dashboard > Activations shows all your orders.