Authentication
The Salesgear API uses API keys to authenticate requests.
Get Your API Key
- Log in to Salesgear
- Go to Settings > API Keys
- Click Generate New Key
- Copy the key and store it securely — you won't be able to view it again
Keep your API key secretDon't commit your API key to version control or expose it in client-side code.
Making Authenticated Requests
Include your API key in the Auth header of every request:
curl https://core.salesgear.io/v1/contacts \
-H "Auth: YOUR_API_KEY"Rotating or Revoking a Key
If a key is compromised, go to Settings > API Keys and click Revoke next to the affected key. Requests using a revoked key will return a 401 Unauthorized error.
Next: API Reference to explore available endpoints.
Updated about 1 month ago
Did this page help you?

