This guide will walk you through the essential steps to get started with our API, from obtaining your API key to making your first request.
Obtain Your API Keys
To start using the One of None API, you need to obtain your API keys from the dashboard. Only team owners and team admins have access to the API keys management section. Follow the steps below:
Log in to your One of None dashboard.
Navigate to the API Keys section.
Copy your API keys.
Always keep your Server API Key secure and never expose it in a browser or client environment. If your Server API key is leaked, regenerate it immediately.
Add Whitelisted Domains
Before you can start making requests to the API, you need to whitelist the domains that will use your API keys. Only team owners and team admins have access to this section:
Add your domains.
https://yourwebsite.com
or http://localhost:<port>
for local development).
*.yourwebsite.com
if you need broader access.Save the changes.
Make Your First API Request
Once you have obtained your API key and whitelisted your domains, you’re ready to make your first API request. Use the x-api-key
header to authenticate your requests.
Replace YOUR_API_KEY
with your actual API key to authenticate the request. If everything is set up correctly, you’ll receive a JSON response like the following:
If you encounter any issues, refer to the troubleshooting page.
Once you have successfully made your first request, you can explore other API endpoints by referring to our API Documentation. Need help? Contact our support team at support@oneofnone.io.