Create Your API Key
Once you’ve received access to your sandbox or production account, follow these steps to generate your API key.
All requests to the Xoxoday Rewards API must be authenticated.
Xoxoday uses bearer authentication, where each request must include an HTTP header that includes your Client ID, Secret ID, and Access Token. The following guide explains how to generate your client ID, secret ID, and access tokens from the admin portal.
How to Generate Your API Key
-
Log in to your Xoxoday Admin Dashboard (Sandbox or Production).
-
Go to Settings → API.
-
Under the Storefront Integration tab, click Generate New Tokens.
-
A pop-up will appear showing the scope of integration. Click Save.
-
Your Client ID and Secret ID will now be visible on the dashboard — copy and store them securely.
-
Click on “Generate New Tokens”.
-
Confirm by clicking “Yes, Generate”.
-
Your Access & Refresh Tokens will be displayed — copy it immediately, as it will not be shown again.
-
Treat this token like a password. Keep it secure and never expose it publicly.
Using the API Key
To authenticate your API requests, include the access token in the Authorization header as a Bearer token:
Authorization: Bearer <your-access-token>
This header is required for all authenticated API calls to both sandbox and production environments.
Ensure that your token is kept secure and never exposed in client-side code or public repositories.
Updated 9 days ago