Introduction
qiibee API Documentation
The Loyalty API uses conventional HTTP response codes to indicate the success or failure of an API request.
In general, the 2xx range indicates success, the 4xx range indicates an error due to bad data or an authentication failure. And the 5xx range indicates an error with qiibee's servers (these are rare).

Base URL

The Base URL for all API requests is https://bwaapi.qiibee.com/api/admin

Authentication

All API endpoints are authenticated with the X-API-KEY header.
If you do not send the header, or the header is invalid we will return a 401 with an error message Missing x-api-key header or Invalid API Key.
You can create your API key at the qiibee Loyalty Admin Dashboard in the Integration section.

Sandbox

The sandbox environment implements the behaviour of the actual API but in a test environment so you can test out your flows before calling the real API.
The base URL for all sandbox APIs is https://bwaapi-sandbox.qiibee.com/api/admin
The API key must be created on the qiibee Loyalty Admin Dashboard Sandbox in the Integration section.

Postman Collection

You can use this Postman collection to test all endpoints.
You will need to set the following environment variables:
  • qiibee_loyalty_api_base_url
  • qiibee_loyalty_api_key
  • auth_id
  • token_id
  • campaign_id
  • nft_id
  • brandB_token_id
  • brandB_id
  • brandB_membership_number
  • crypto_token
  • etihad_token
  • m&m_token
  • etihad_membership_number
  • m&m_membership_number
qiibee Loyalty API.postman_collection.json
21KB
Code
Copy link
On this page
Base URL
Authentication
Sandbox
Postman Collection