Prerequisites
Before you begin, ensure you have:- A Doozy account with API access enabled (see Authentication)
- A Doozy API key
- A Make account
Setting Up the HTTP Module
Make doesn’t have a native Doozy integration, so you’ll use the HTTP module to make API requests.1
Create a New Scenario
Log in to Make and click Create a new scenario.
2
Add the HTTP Module
Click the + button and search for HTTP. Select Make a request.
3
Configure the Request
Set up the HTTP module with the following settings:
Add a header:
- Name:
x-api-key - Value: Your Doozy API key (
dzy_xxxxxxxx_...)
4
Test the Connection
Click Run once to test the connection. You should see a list of your quizzes in the response.
Example: Fetching Quiz Results
To fetch detailed results for a specific quiz:
Replace
{quizId} with the actual quiz ID from your Doozy dashboard.
Handling Pagination
For endpoints that return multiple items, you may need to handle pagination:1
First Request
Make the initial request with your desired
limit parameter:2
Check for More Results
Check if the response has more items by looking at the
has_more field.3
Fetch Next Page
If there are more results, use the last item’s ID as the
starting_after parameter:Storing Your API Key Securely
Instead of hardcoding your API key, use Make’s Data Stores or Variables to store it securely:- Go to More → Keys
- Create a new key with your API key value
- Reference this key in your HTTP module headers
Error Handling
Add a Error handler route to your scenario to handle API errors gracefully:- 429 errors: Add a Sleep module and retry
- 401 errors: Check your API key is valid
- 404 errors: Verify the resource ID exists
Example Workflow: Weekly Quiz Report to Google Sheets
1
Schedule Trigger
Add a Schedule trigger to run weekly.
2
Fetch Quiz Report
Use the HTTP module to fetch
/v1/quizzes/{quizId}/report.3
Parse Response
Use the JSON module to parse the response data.
4
Add to Google Sheets
Use the Google Sheets module to append the data to your spreadsheet.