Automation by Meir API Documentation
Integrate AI agents, orchestrators, and custom tools directly with ABM. Query real-time consultation availability, book 30-minute Google Meet discovery calls, and submit project briefs over versioned REST (/api/v1), Model Context Protocol (/mcp), or in-page WebMCP.
1. Base URL & Authentication
All stable REST v1 endpoints are served over HTTPS from https://www.automationbymeir.com/api/v1.
- Public Access: Consultation availability (
GET /api/v1/schedule/slots), consultation booking (POST /api/v1/schedule/book), project brief intake (POST /api/v1/schedule/brief), and the Streamable HTTP MCP server (POST /api/v1/mcp) are publicly accessible without API keys so autonomous AI agents can act on behalf of users immediately. - CORS & Headers: Cross-origin requests are enabled (
Access-Control-Allow-Origin: *) with exposedAPI-Version,Idempotency-Key,Idempotent-Replayed,Deprecation,Sunset, andMcp-Session-Idheaders.
2. Versioning & Deprecation Policy
ABM enforces a strict, predictable REST versioning and sunset lifecycle so agent integrations never break unexpectedly:
- URI Path + Header Versioning: Major versions are isolated in the URL path (
/api/v1/*), and every response carriesAPI-Version: 2026-11-30andX-API-Version: v1. - Non-Breaking Evolution: Additive optional fields and new endpoints are introduced within
v1without breaking existing schemas. - 180-Day Sunset Guarantee: Before any version or endpoint is retired, ABM provides a minimum 180-day deprecation window signaled via standard HTTP headers: RFC 9745
Deprecation: @<epoch>, RFC 8594Sunset: <HTTP-date>, andLink: </api/v1/...>; rel="successor-version".
3. Safe Retries with Idempotency-Key
All write endpoints (POST /api/v1/schedule/book, POST /api/v1/schedule/brief, POST /api/v1/schedule/checklist) accept an Idempotency-Key request header (1–255 characters, UUID v4 recommended):
- First Execution: Executes normally, persists the response for 24 hours, and returns
Idempotent-Replayed: false. - Network Retry: Resending the same
Idempotency-Keyand payload replays the stored JSON result withIdempotent-Replayed: truewithout creating duplicate calendar invites or sending duplicate emails. - Payload Mismatch Protection: Reusing an existing
Idempotency-Keywith a different payload returns422 Unprocessable Content(IDEMPOTENCY_KEY_CONFLICT).
4. Typed JSON Error Responses (RFC 9457)
The ABM API never returns HTML error pages. Every 4xx and 5xx response returns Content-Type: application/problem+json; charset=utf-8 with a machine-readable code, human-readable message/detail, and actionable hint:
{
"type": "https://www.automationbymeir.com/docs#error-validation-error",
"title": "Missing or Invalid Booking Parameters",
"status": 400,
"code": "VALIDATION_ERROR",
"message": "dateTime: An ISO 8601 dateTime from GET /api/v1/schedule/slots is required.",
"detail": "dateTime: An ISO 8601 dateTime from GET /api/v1/schedule/slots is required.",
"hint": "Fetch open slots via GET /api/v1/schedule/slots, then POST { name, email, dateTime, details } with an optional Idempotency-Key header.",
"instance": "/api/v1/schedule/book",
"invalidParams": [
{ "name": "dateTime", "reason": "An ISO 8601 dateTime from GET /api/v1/schedule/slots is required." }
],
"success": false,
"error": "dateTime: An ISO 8601 dateTime from GET /api/v1/schedule/slots is required."
}
| HTTP Status | Machine Code | When Returned |
|---|---|---|
| 400 | VALIDATION_ERROR / INVALID_JSON | Missing/invalid fields or malformed JSON syntax |
| 404 | ENDPOINT_NOT_FOUND | Unknown API route |
| 409 | SLOT_UNAVAILABLE | Selected consultation time slot was just booked |
| 415 | UNSUPPORTED_MEDIA_TYPE | Unsupported Content-Type header |
| 422 | IDEMPOTENCY_KEY_CONFLICT | Same Idempotency-Key sent with different parameters |
| 500 | CALENDAR_UNAVAILABLE / INTERNAL_SERVER_ERROR | Transient upstream failure (safe to retry with Idempotency-Key) |
5. REST v1 Endpoints & Example Requests
GET /api/v1/schedule/slots
Returns real-time open 30-minute consultation slots over the next 7 days (Asia/Jerusalem offset included).
curl -sS https://www.automationbymeir.com/api/v1/schedule/slots \ -H "Accept: application/json"
POST /api/v1/schedule/book
Schedules a free 30-minute Google Meet consultation with Meir Horwitz and dispatches calendar invites.
curl -sS -X POST https://www.automationbymeir.com/api/v1/schedule/book \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \
-d '{
"name": "Alex Morgan",
"email": "alex@example.com",
"dateTime": "2026-12-02T10:00:00.000+02:00",
"details": "ERP invoice sync + Claude validation agent",
"lang": "en"
}'
POST /api/v1/schedule/brief
Submits an asynchronous project brief (application/json or multipart/form-data) for a fixed-price proposal within 1 business day.
curl -sS -X POST https://www.automationbymeir.com/api/v1/schedule/brief \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 7c9e6679-7425-40de-944b-e07fc1f90ae7" \
-d '{
"name": "Alex Morgan",
"email": "alex@example.com",
"brief": "Automate Monday.com -> Priority ERP order creation with Slack alerts.",
"lang": "en"
}'
POST /api/v1/mcp
Streamable HTTP Model Context Protocol endpoint. See full setup instructions on the dedicated Automation by Meir MCP Server page.