Menu
Reference and help

Public intake API

Send form fields as JSON and handle the data/error response contract.

Public endpoint

POST JSON to /api/submit or use the form-specific route. Include the public form key, a fields object, and an Idempotency-Key header for programmatic requests.

Example request

cURL
curl "https://littlereply.com/api/submit" \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: tentative-exemple-001' \
  --data '{"form_key":"YOUR_ACCESS_KEY","fields":{"name":"Camille","email":"camille@example.test","message":"Bonjour !"}}'

Accepted response

JSON — illustrative structure
{
  "data": {
    "submission_id": "identifiant-de-la-demande",
    "receipt_id": "identifiant-du-recu",
    "redirect": null
  },
  "error": null,
  "request_id": "identifiant-de-la-requete"
}

Handle HTTP errors

Documentation reviewed on October 20, 2026Suggest an improvement →