Skip to main content

Authentication V1

All requests are MANDATORY to use Authentication. There will be 2 (two) ways to Authenticate:

  1. Basic Authentication
  2. oAuth Token Authentication

Basic Authentication

Parameters

TypeParamsValuesDescription
Header
Authorizationstring

Value: Basic[CredentialKey]
CredentialKey is made by encoding the SignString with BASE64 SignString is made by combining AppKey, “:” (colon), and AppSecret i.e:
AppKey: ThisIsTheAuthKey
AppSecret: This1sASeCre7C0de

SignString: ThisIsTheAuthKey:This1sASeCre7C0de

CredentialKey: base64encode("ThisIsTheAuthKey:This1sASeCre7C0de")

Content-Typestring

Value: application/json
Unless stated otherwise, the value should always be “application/json”

X-App-Typestring

Value: [AppType]
AppType specified on the credential sent by admin.