API Reference

Welcome to the CallMeLater API reference documentation. Our API enables you to programmatically schedule HTTP requests to be executed at a specific time in the future.

Base URL

https://api.callmelater.xyz

Authentication

All API requests must include your API key in the x-api-key header:
curl -H "x-api-key: your_api_key" https://api.callmelater.xyz/schedule

Rate Limiting

API requests are limited based on your subscription plan. Each successful schedule creation consumes one credit from your account.

Error Handling

The API uses conventional HTTP response codes to indicate the success or failure of requests:
  • 2xx - Success
  • 4xx - Client errors (invalid input, authentication errors)
  • 5xx - Server errors
Error responses include a JSON object with an error field containing a message:
{
  "error": "Insufficient credits"
}

Available Endpoints

The API provides the following main endpoints:
  • /schedule - Schedule and manage HTTP requests
  • /stats - Retrieve usage statistics and logs
Each endpoint is documented in detail in the following sections.