IntegrationsGetting Started
Environments
Test vs. production environments — credentials, accreditation, and environment differences.
The Carrot API uses credential-based environment separation with the same base URL.
Environment model
- API base URL:
https://api.carrot.eco - Auth URL:
https://auth.api.carrot.eco/oauth2/token - Environment is selected by the credential pair (
clientId/clientSecret), not by host.
Test vs production behavior
- Test credentials can only operate on test data.
- Production credentials can only operate on production data.
- Cross-environment relationships are not allowed.
Credential lifecycle recommendations
- Store credentials in your secrets manager.
- Rotate credentials through controlled rollout.
- Request new bearer tokens before expiry.
Go-live checklist
- Validate full flow in test (create, event append, attachment upload, retrieval).
- Confirm retry/idempotency behavior with
deduplicationId. - Confirm rate limit behavior under expected throughput.
- Promote to production credentials.
Related references: