Prerequisites
You’ll need an API key (sk_live_* or sk_test_*) from the RouteMCP dashboard. If you don’t have one yet, sign up at the dashboard and generate a key from the API Keys page.
1. Connect a Provider
Your end users need to authorize their CRM or accounting account before you can access their data. Create a connect token from your backend and use it to launch the Connect widget in their browser.
Response:
2. Fetch Contacts
Once a provider is connected, fetch contacts through the unified API. TheX-End-User-Id header is required on all resource endpoints — it identifies which end user’s connections to query:
provider parameter:
3. Create a Contact
To write data, specify whichprovider to create the record in:
4. Work with Other Resources
The same pattern applies to all supported resource types. All endpoints require theX-End-User-Id header, and write operations require the provider query parameter:
contact, lead, deal, meeting, company, note, task, activity, appointment
Read-only resources: owner, pipeline — list and get only, cannot be created or modified.
Next Steps
- Authentication — API key types, environments, and best practices
- Connect Widget — Embed the provider authorization flow
- Field Mappings — Understand how provider data maps to the unified schema
- Error Codes — Handle errors gracefully
- API Reference — Full endpoint reference