Postman Collection¶
Use the official ConnectGain Postman collection to explore and test the public REST API without writing any code.
Download the ConnectGain collection
What's inside¶
The collection covers the public REST API surface, including:
- Contacts — create, search, bulk import
- Companies — create and search
- Deals & Leads — single and bulk creation, pipeline operations
- Inbox — conversation and message endpoints
- Webhooks — example payloads for outbound events
See the Complete API Reference for the full endpoint list and the Authentication guide for how keys work.
Import & configure¶
- In Postman, choose Import and select the downloaded
ConnectGain.postman_collection.jsonfile. - Create an environment variable (e.g.
base_url) — for production use the Edge Functions base from the API Overview. - Add an
Authorizationheader to your requests:
Generate a key in the app under Settings → Storage & Developer → API Keys. Keys are prefixed cg_. Keep them secret — treat a key like a password.
Authentication recap¶
ConnectGain's public API authenticates with cg_-prefixed API keys sent as a Bearer token. Full details, scopes and rotation are in API Authentication.
cURL instead?
Prefer the command line? See cURL Samples and REST API cURL Examples.