Examples
cURL cookbook
Practical curl recipes for Public API v1
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Practical curl recipes for Public API v1
export CICINI_API_KEY="cic_test_…"
export CICINI_BASE="https://cicini.com" # local: http://localhost:3000
curl -sS -o /tmp/out.json -w "%{http_code}\n" \
-H "Authorization: Bearer $CICINI_API_KEY" \
"$CICINI_BASE/api/public/v1/customers?limit=1"
# expect 200
curl -sS \
-H "Authorization: Bearer $CICINI_API_KEY" \
-H "Accept: application/json" \
"$CICINI_BASE/api/public/v1/customers?limit=10" | jq .
curl -sS \
-H "Authorization: Bearer $CICINI_API_KEY" \
"$CICINI_BASE/api/public/v1/appointments?status=confirmed&startDate=2026-07-01T00:00:00.000Z&endDate=2026-08-01T00:00:00.000Z&limit=50" \
| jq '{count: (.data|length), total: .pagination.total, hasMore: .pagination.hasMore}'
curl -sS \
-H "Authorization: Bearer $CICINI_API_KEY" \
"$CICINI_BASE/api/public/v1/customers?limit=1" \
| jq '.data[0] | {id, displayName, email, phone}'
curl -sS \
-H "Authorization: Bearer $CICINI_API_KEY" \
"$CICINI_BASE/api/public/v1/customers?limit=999" | jq .
curl -sS "$CICINI_BASE/api/public/v1/customers?limit=1" | jq .
curl -sS "$CICINI_BASE/openapi.json" -o openapi.json