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.

Request examples

The following examples use the raw Salesforge API key.

Common authentication errors

Next steps