Get up and running with Mamo's APIs in less than 5 minutes.
In this example, we will use the Business Details endpoint to ensure we have the right permissions to interact with Mamo's APIs.
How to Use Mamo's API Docs
👈 To the left, you will find all documents, including individual endpoint reference docs. These will include information on various endpoints, their associated methods and the various responses that your code will need to handle.
👉 To the right, there's the search bar, language, base URL, code generator and a try it from the browser section.
Use the language section to select the language that you plan on writing your code in.
Use the base URL to select the environment you would like the docs to target. We would recommend that you would start with the sandbox environment while you build and test your app. And later on switch to the production URL once your flows are tested and are working as expected. Hint, our sandbox environment currently does not require an API key. This way you can get started immediately.
The code generator will automatically create a working code snippet based on the values that you provide on a given page. Feel free to copy and paste this straight into your code. You can also test this using the Try It! button below each section. Note that for production requests, you will be required to provide a valid API Key.
Note: No API Key needed for sandbox environment
To get authenticated, you will first have to retreive your API key from the Mamo dashboard. You can do so by clicking here.
log into your dashboard
navigate to the developer page
copy your API key
Now that you have your API key, it's time to get this tested