Managed - Bearer token
2 min
Bearer tokens
Bearer tokens are a simple (but not very secure) method of authenticating to external systems. Servicely can securely store and manage Bearer tokens in a SystemAPIOutboundToken record and relay the tokens to the integrating application as required.

Using from the Scripting environment
To use the SystemAPIOutboundToken from the Scripting environment, simply call the ‘apiTokenAuth' method of any of the outbound HTTP methods. The Basic Authentication credentials will be applied before the message is sent.
