Developer docs
Send an enquiry in one request
Create a key in the CRM under Connections. Keys are shown once and stored hashed. Name the key after the place it is used, and that name becomes the lead source.
Create or update an enquiry
curl -X POST https://crm.abata.tech/api/inbound \
-H "Authorization: Bearer abk_your_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Asha Rao",
"email": "asha@example.com",
"phone": "+91 98765 43210",
"company": "Rao Interiors",
"message": "Interested in a demo",
"external_id": "form-1042"
}'Fields understood: name, email, phone, company, message, plus first and last name variants. Everything else is kept with the enquiry. Sending the same external_id again updates the existing enquiry.
Delete an enquiry
curl -X DELETE https://crm.abata.tech/api/inbound \
-H "Authorization: Bearer abk_your_key" \
-H "Content-Type: application/json" \
-d '{ "external_id": "form-1042" }'Form plugins
Use the webhook URL https://crm.abata.tech/api/inbound?key=YOUR_API_KEY with POST. Prefer the Authorization header when the plugin supports headers.
MCP (Claude, Cursor)
Point an MCP client at https://crm.abata.tech/api/mcp with your key as a bearer token. Tools: list_inquiries, create_inquiry, search_contacts.
Responses
200 saved, 401 missing or revoked key, 422 empty body, 413 body too large.