Using the API
mcamgr exposes a REST API for automating intake and integrating your stack.
Authentication
API requests authenticate with a per-tenant API key sent as a bearer token:
Authorization: Bearer mca_live_xxxxxxxxxxxx
Generate and revoke keys under Settings → API keys (Admin only). Each key is scoped by the same permission flags as a user, so a key can be limited to exactly what an integration needs.
Reference
The full machine-readable specification is published as OpenAPI at
/api/openapi.json, with a browsable reference at
/help/api-reference.
Lead intake example
Create a lead from your website's contact form:
POST /api/v1/leads
Authorization: Bearer mca_live_xxxxxxxxxxxx
Content-Type: application/json
{
"businessName": "Acme Diner LLC",
"contactName": "Pat Owner",
"email": "pat@acmediner.com",
"phone": "555-0100",
"source": "website"
}
Can’t find what you need? Return to the app or contact your administrator.