Quick Start
Launch your first scheduled on-chain cron job in under 60 seconds.
Quick Start
In this guide, you will create a project-scoped API key, configure an hourly webhook job pointing to your endpoint, and verify execution logs.
1. Get an API Key
- Sign in to the icCron Dashboard using your Internet Identity passkey.
- Select your default project or click New Project.
- Navigate to API Keys and click Create API Key.
- Copy your raw secret key (
icp_cron_<64-hex-chars>). Note: this secret is only displayed once and is hashed with SHA-256 on chain.
2. Schedule Your First Job
You can create a job using our official TypeScript SDK or cURL:
3. Verify Execution Logs
Once your job is active, query the latest execution logs directly via the SDK:
const logs = await client.getProjectLogs();
console.log("Recent execution logs:", logs);Every log record includes:
started_at: Unix timestamp of execution startduration_ms: Execution latency in millisecondsstatus_code: HTTP response status code (e.g.,200)success: Boolean delivery indicatorresponse_snippet: 200-byte snippet of the consensus-verified response body
Edit on GitHubMainnet Canister: w2fxo-5qaaa-aaaan-q6zxq-cai
Search Documentation
Quickly find developer documentation, API endpoints, guides, and tutorials.