Logo Site EngageLab Mark Colored TransparentDocument
Search

Authentication

Learn how to authenticate your API requests to call the EngageLab OTP service.

The EngageLab OTP API uses HTTP Basic Authentication. All API requests must include the Authorization header.

Authorization Header Description

The format of the Authorization header is as follows:

Authorization: Basic ${base64_auth_string}
              
              Authorization: Basic ${base64_auth_string}

            
This code block in the floating window

Generating the Authentication String

${base64_auth_string} is obtained by joining your dev_key and dev_secret with a colon (:) and then Base64 encoding the result.

Algorithm:

base64(dev_key:dev_secret)
              
              base64(dev_key:dev_secret)

            
This code block in the floating window

You can find your dev_key and dev_secret in the API Keys section of the EngageLab OTP console. Please keep your dev_secret safe and never expose it in public code.

Icon Solid Transparent White Qiyu
Contact Sales