Overview
Get started with the Embedly API and explore detailed endpoint documentation with interactive playgrounds.
API Reference & Overview
Welcome to the Embedly API documentation! This page provides everything you need to integrate with the Embedly API, including setup instructions, authentication details, and detailed endpoint documentation with interactive playgrounds to test your requests.
Get Started
Retrieve Your API Key
To access the full Embedly API services, you’ll need an API key. Follow these steps to retrieve it from your dashboard:
- Login to your dashboard or if you don’t have an existing profile with embedly, you can create an sign up on the platform.
- Navigate to the “API & Integration” section from the sidebar.
- Under the API Keys & Webhooks tab, click on generate secret key and then copy the secret key displayed to in the modal, please note that the secret key is a view once only function
- Once you have the secret key, copy your clientId under the test section
The APIs on the staging environment are currently open and do not require an
API key for authentication. For testing purposes, you can use the default key
BSK-ONJx5zqEZ8M4RSEF3t1DVFPYQqvU22T54pdfzKm6xixaqVQ74gvTc63YTXmDdf2okVcPd6iSDWJm, AdminTest(For Currency & Organization API) and 'BSK-GB9S3Ln7FUfGL1pWAOYDvLYnGyGeLRwfZ5A6e9pdTo6S8Xac25SAHp9VtNXeknMTtp50ncNyRezW
(For
nin-kyc for the customer). This is subject to change with prior notice, so we
recommend using your own API key to prepare for production. Use
02600494-1a3c-11f0-a818-6045bd97b81d as your OrganizationId for test.
Base URLs
Use the following base URLs for your API requests:
-
Staging Environment:
https://waas-staging.cafeone.ng/api/v1 -
Production Environment:
https://waas-prod.cafeone.ng/api/v1
Ensure you’re using the correct base URL for your environment. Requests to the production environment require a valid API key.
Authentication
All API requests require your API key to be passed as a header. Include the following header in every request:
Header Example:
API Endpoints
The Embedly API provides a powerful set of tools to manage organizations, customers, wallets, products, and more. Explore the following endpoint categories:
- Authentication: Authenticate with the API to obtain a token.
- Country: Create and add Countries
- Currency: Manage currency-related operations.
- Customer: Create, update, and retrieve customer information.
- Product: Create and manage products.
- ProductLimit: Set limits on products and customers.
- Wallet: Manage wallets, transactions, and restrictions.
- WalletGroup: Organize wallets into groups and manage features.
The Embedly API uses standard HTTP status codes to indicate the success or failure of a request. Common error responses include:
Error Handling
The Embedly API uses standard HTTP status codes to indicate the success or failure of a request. Common error responses include:
- 401 Unauthorized: Invalid or missing API key.
- 404 Not Found: The requested resource does not exist.
- 500 Internal Server Error: An unexpected error occurred on the server.
Each endpoint’s documentation includes specific error responses and examples.
Need Help?
If you encounter issues or have questions, reach out to our support team:
- Email: hello@embedly.ng
- Community: Join our community forum to connect with other developers.