Skip to main content
Salesforge public APIs use API key authentication. Send the raw API key in the Authorization header. Do not add a Bearer prefix.
Bearer authentication and API key authentication are different. Adding Bearer changes the header value and causes Salesforge requests to fail.

How authentication works

  1. Generate a Salesforge API key for the account or workspace you are integrating.
  2. Send the raw key in the Authorization header on every request.
  3. Handle standard auth failures such as missing, invalid, or out-of-scope keys.
Multichannel public endpoints accept both the raw key and the Bearer format. Use the raw key because it works with both Salesforge and Multichannel endpoints.

Leadsforge API

Leadsforge API uses its own API keys, created in the Leadsforge app under Settings -> API & MCP. The header format is the same: send the raw key in the Authorization header, without a Bearer prefix.
Leadsforge returns 404 for resources in another account and uses 403 only for account_frozen. The Leadsforge MCP server takes the same key in the X-Leadsforge-Key header. See Leadsforge API endpoints for the base URL and request conventions.

Request examples

The following examples use the raw Salesforge API key.

Common Salesforge authentication errors

Next steps