Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.foodsave.kz/llms.txt

Use this file to discover all available pages before exploring further.

API Overview

  • Base URL: https://api.foodsave.kz
  • API versioning: v1 in path /api/v1/ — future versions will use /api/v2/.
  • Content-Type: application/json for request/response bodies unless otherwise noted (multipart for file uploads).

Errors

All errors follow this JSON structure:
{
  "code": "BAD_REQUEST",
  "message": "Human readable message",
  "details": { }
}
Common error codes:
HTTPCodeMeaning
400BAD_REQUESTValidation or malformed payload
401UNAUTHORIZEDMissing or invalid token
403FORBIDDENInsufficient permissions
404NOT_FOUNDResource not found
429RATE_LIMITToo many requests
500INTERNAL_ERRORServer error — contact support

Rate limits

  • Default: 60 requests/min per API key for admin endpoints; 300 requests/min for public read endpoints. If you need higher throughput, contact support to request a quota increase.

Idempotency

Where endpoints create resources (orders, campaigns), an Idempotency-Key header may be accepted to prevent duplicate creation.
Idempotency-Key: <uuid>