Zoho CRM
Manage leads, contacts, deals, and accounts.
Environment Variables
ZOHO_ACCESS_TOKEN- OAuth access tokenZOHO_API_DOMAIN- API domain (e.g.https://www.zohoapis.com)
List leads
curl -s -H "Authorization: Zoho-oauthtoken $ZOHO_ACCESS_TOKEN" \
"$ZOHO_API_DOMAIN/crm/v5/Leads?per_page=10" | jq '.data[] | {id, Full_Name, Email, Company, Lead_Status}'
List deals
curl -s -H "Authorization: Zoho-oauthtoken $ZOHO_ACCESS_TOKEN" \
"$ZOHO_API_DOMAIN/crm/v5/Deals?per_page=10" | jq '.data[] | {id, Deal_Name, Amount, Stage}'
Create lead
curl -s -X POST -H "Authorization: Zoho-oauthtoken $ZOHO_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
"$ZOHO_API_DOMAIN/crm/v5/Leads" \
-d '{"data":[{"Last_Name":"Doe","First_Name":"John","Email":"john@example.com","Company":"Acme"}]}' | jq '.data[]'
Notes
- Always confirm before creating or updating records.