Authorization header. Do not add a Bearer prefix.
How authentication works
- Generate a Salesforge API key for the account or workspace you are integrating.
- Send the raw key in the
Authorizationheader on every request. - Handle standard auth failures such as missing, invalid, or out-of-scope keys.
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 theAuthorization 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
- Apply Security best practices.
