Postman is the fastest way to send requests to any endpoint on the Grow API and receive responses without necessarily installing anything asides from Postman itself.
That being so, you need to have Postman installed on your computer as well as a Postman account. Check out the links below to install Postman for your preferred operating system:
Alternatively, you can use Postman's web version without installing anything.
Now that you have installed Postman on your computer, the next step is to create a Postman account (if you do not have one already). Postman allows you to create a free account to sync changes made to our API and test out our API from different machines.
If you do not have an account, create a Postman account.
If you already have an account, then sign into Postman instead.
If you already have Postman installed and you are logged in to your Postman account, ignore the above steps.
Go to the Curacel Grow Public Workspace to access our public collection.
Click on the “Fork” icon to fork the collection into your personal Postman account.
Choose the personal workspace you want to fork into. The "Watch" checklist button below allows you to be notified anytime changes are made to our collection and pull the updates into your own forked version.
Now that you have your forked version of the Curacel Grow collection, the next step is to configure your environment variables, for a start, this will include your API key or token and the base URL.
Click on the eye icon at the top-right corner of your workspace to open the environment variables pane. Click on 'edit' to fill in the environment variables.
Set a variable name as "token" (or any name you wish) and fill in your API key as its value.
To avoid sharing your API key to other possible collaborators on your Postman workspace, fill out your key on the "CURRENT VALUE" and NOT the "INITIAL VALUE" tab.
Click Save and you are all set!
At this point, let us confirm our setup is working as it should by making a request to an endpoint to get the list of available insurance products.
Click on the collections folder at the left panel and then v1> products > GET List available insurance products
Now, hit the send button at the top-right corner to make a request to the endpoint.
If all goes well, you should receive a successful response containing the list of available insurance products as illustrated below.
Congratulations! You have made your first successful request to the Curacel Grow API.
Postman allows you to pull changes from the original collection into your forked version anytime we make changes to or release a new version of our API. You will receive a notification that we have released a new version of our collection, you can follow the steps below to pull in the changes.
Click on the collection you forked.
Click on the three-dot button that appears, this will open up a dropdown menu list. Select '''Pull Changes'' from the dropdown list. (This button would be greyed out if there are no changes to pull).
If any change is available, you will be able to pull them into your own collection version. Therefore, you can also select ''View changelog'' from the dropdown list to view what has been changed in the collection.
Updated 11 months ago
Beautiful! Now proceed to make your first insurance purchase