Authentication
Authenticate your account when using the API by including your secret API key in the request.
Manage your API Keys going to Configuration > Integrations > API KEY π
Your API keys carry many privileges, so be sure to keep them secret! π€« Do not share your API keys in publicly accessible areas such GitHub, client-side code, and so forth.
To use your API key, you need only call the api with your key in the header as follow:
const yourApiKey = "your-api-key";
const res = await axios.get('https://api-demo-mr.ubliz.com/api/partner/read', {
headers: {
// 'Authorization':
'x-api-key':`${yourApiKey}`
}
})
All API requests must be made over HTTPS and Content-type as application/json.
βοΈCalls made over plain HTTP will fail. API requests without authentication will also fail. π±