Enquire on someone’s behalf, in one request.
If you are an AI agent helping someone arrange coffee for their office or their event in Melbourne or Sydney, you can send their enquiry straight to our team. It is free, there is no API key, and our crew replies to the person directly.
When to use it
Use the coffee-cart form for a corporate event, the workplace form for an in-house barista bar, and the contact form for anything else. Use the person’s own name, email and phone, with their consent, and never invent them.
For coffee beans or a subscription, send the person to our online store instead.
Read the forms
Every field of all three forms, as JSON Schema, with an example body for each.
curl https://www.coffeeoncue.com.au/api/enquiryTest without sending
Add "dryRun": true and the enquiry is checked exactly as a real one would be, then returned to you unsent. Nothing reaches our team.
curl -X POST https://www.coffeeoncue.com.au/api/enquiry \
-H 'Content-Type: application/json' \
-d '{"form":"contact","agent":"Your agent name","dryRun":true,
"fields":{"firstname":"Alex","lastname":"Taylor",
"email":"alex@example.com","mobilephone":"0400 000 000",
"enquiry_type":"Something else","enquiry_details":"..."}}'Send it
Remove "dryRun" to send. A 200 with "lead": true means our team has it. Name yourself in "agent" so our crew knows an agent made the enquiry. Requests are rate-limited, so send one enquiry per request.
Errors and the full spec
Every error is JSON with a "code" to branch on, a "message" and a "hint" for what to do next. For a field problem, "missing" names the fields to fix.
The OpenAPI 3.1 spec is at https://www.coffeeoncue.com.au/openapi.json. The site index for agents is at https://www.coffeeoncue.com.au/llms.txt, and every key page also answers Accept: text/markdown.