API Proxy
The API Proxy lets you call any connected provider's API through Calimatic Connect. Instead of managing tokens and credentials yourself, just send your request through our proxy and we handle the authentication automatically.
Why use the API Proxy?
- No need to store or manage provider API tokens in your application
- Expired tokens are automatically refreshed — your request just works
- Every API call is logged for auditing and debugging
- One consistent endpoint for all your connected providers
How It Works
- You send a request to the proxy endpoint, specifying the provider and what API call to make
- Calimatic Connect adds the stored authentication credentials automatically
- The request is forwarded to the provider's API
- If the credentials have expired, they are refreshed and the request is retried automatically
- The provider's response is returned to you, and the call is logged
Making a Request
Send a POST request to the proxy endpoint, specifying which provider and what API call you want to make:
Request Fields
| Field | Type | Description |
|---|---|---|
| method | string | HTTP method: GET, POST, PUT, PATCH, DELETE |
| path | string | API path on the provider (e.g., /v2/contacts) |
| query | object | Optional query parameters |
| headers | object | Optional additional headers |
| body | any | Optional request body (for POST/PUT/PATCH) |
Examples
Fetch HubSpot Contacts
Send a Twilio SMS
Create a Stripe Payment Intent
Automatic Token Refresh
If a provider says your credentials have expired, Calimatic Connect automatically refreshes them and retries your request. You do not need to handle token expiration in your code.
If the refresh also fails (for example, if the user revoked access), the connection status is updated to "expired" and you will see an error message explaining what happened.
Audit Logging
Every API call made through the proxy is logged with details including:
- Who made the call and which provider was used
- The HTTP method and path
- Response status code and how long it took
- Error messages (if any)
View your proxy logs in the admin panel under Proxy Logs.
Supported Providers
Any connected provider that supports API proxying can be accessed through this endpoint. This includes most OAuth-based providers: Meta, Google, Salesforce, HubSpot, Stripe, Slack, Zoom, Shopify, and more.
Security Note
For security, some sensitive API paths may be blocked (such as credential or admin endpoints). If your request is rejected, check the error message for details about which paths are allowed.