Skip to content

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

  1. In Postman, choose Import and select the downloaded ConnectGain.postman_collection.json file.
  2. Create an environment variable (e.g. base_url) — for production use the Edge Functions base from the API Overview.
  3. Add an Authorization header to your requests:
Authorization: Bearer cg_your_api_key_here

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.