Documentation preview

A provider-independent function model.

Final endpoint availability is determined by enabled adapters and account access.

Authentication

Authorization: Bearer cam_live_xxxxxxxxx

Use a separate CamiloAPI application key per environment. Never expose a server key in client-side code.

AI generation

POST https://api.camiloapi.com/v1/ai/generate
{"provider":"auto","input":"Summarize this text."}

Email send

POST https://api.camiloapi.com/v1/email/send
{"provider":"auto","to":"[email protected]",
 "subject":"Welcome","html":"<p>Hello</p>"}

Stripe API example

Stripe API is an explicit provider example for adapter-driven payment, customer, subscription, payout, refund, and webhook operations where those functions are implemented and enabled.

POST https://api.camiloapi.com/v1/payments/customers
{"provider":"stripe","email":"[email protected]"}

This documentation does not claim that every Stripe operation is currently available. Stripe usage remains subject to Stripe’s API, account, compliance, and billing requirements.

Standard response envelope

{"success":true,"request_id":"req_abc123",
"function":"ai.generate","provider":"gemini",
"fallback_used":false,"latency_ms":418,
"data":{},"usage":{},"estimated_cost":0.0012}