Authentication token

How to Generate the Authentication Token for the Dashboard Endpoint

To send authenticated requests to the Dashboard Entry Point API you must include an Authentication Token.

This token is a SHA256 hash, based on the customer's email address being sent in the request, and a secret Salt key provided by Mention Me.

Token Generation Format
AuthenticationToken = LowerCase( SHA256_Hash( LowerCase(EMAIL) + [SALT] ) )

Getting Your Salt Key
Your SALT is unique and provided by Mention Me. It is used for both Demo and Production environments. Please submit a support request to receive it securely.

Steps to Generate the Token

  1. Convert the customer’s email address in your API Request to lowercase.
  2. Concatenate the lowercase email with your Mention Me Salt.
  3. Generate a SHA-256 hash of the resulting string.
  4. Convert the final hash to lowercase (most libraries return lowercase by default).
  5. Include this value in your API request as the AuthenticationToken.

Testing the Authentication Token
We have a dedicated Hash Testing tool you may use. This allows you to test that an Authentication Token you have generated will pass Mention Me’s validation when sent as part of a request to the EntryPoint or Consumer APIs. You will need access to the Mention Me Platform to access this page.

Simply add the Email address you have hashed to create the Authentication Token, and the Authentication Token you generated, and the Mention Me platform will confirm if the token is valid.

If the hash does not match, the platform will share with you the expected hashed value.


What’s Next

Learn about referrer promotion via the Entry Point API