API activities
Table of contents
Quick brainstorm
Think about a workflow youβve built (or want to build) in Rewst. Break it down into requests and responsesβwhat information needs to be pulled (GET), added (POST), updated (PUT), or deleted (DELETE)? Reflect on how Rewst handles these API conversations behind the scenes to make automation seamless.
API scavenger hunt
Learn how to find and understand API documentation, identify endpoints, and interpret key details.
Objective
This activity will help you:
Find and navigate API documentation
Identify API endpoints and their purpose
Understand authentication requirements
Recognize the data structure of API responses
Develop confidence in working with API docs
How to find API documentation
If you ever need to find API documentation for a service, follow these steps:
Google it:
Search for β[Service Name] API documentationβ
Example: "Microsoft Graph API documentation"
Check the official website:
Most companies provide an API reference in their developer or integrations section.
Example: Microsoftβs API docs are on this page.
Look at API marketplaces:
Sites like Postman API Network, RapidAPI, and ProgrammableWeb list popular APIs.
Check developer portals:
Many platforms (Microsoft, Google, AWS) have dedicated developer portals with API guides.
Instructions
Pick an API from the list below or find one yourself.
Locate the official documentation.
Answer these questions:
What does this API do? (Summarize in simple terms.) You can often find this information in the overview page.
Find one useful endpoint. Write down its URL format (e.g., /users for listing users.) You can find this information in the endpoints reference section.
What data does this endpoint return? (Look for JSON responses.) Take a look at the request and response exmples.
What parameters does it use? (Look for required fields like ?filter=email)
Does this API require authentication? (Look for OAuth, API keys, or tokens.) These can be found in the authentication section.
Whatβs a real-world scenario where this API could be used?
Bonus challenge:
Find an API request example in the documentation and explain what it does.
Describe how this API might fit into an automation workflow.
APIs to explore
1. Microsoft Graph API β Manage Microsoft 365 services
Link to docs: Microsoft Graph API
Example endpoints:
/usersβ Get a list of users
me/mailFolders/inbox/messages β Retrieve emails from an inbox
/security/alerts β Access security alerts
Authentication? OAuth (requires Azure AD permissions)
Things to look for:
What kind of authentication is required to access user data?
How are permissions structured in Microsoft Graph?
What are some filtering options when retrieving user or email data?
2. Azure API (Azure Resource Manager API) β Manage Cloud resources
Link to docs: Azure Resource Manager API
Example endpoints:
/subscriptions/{subscriptionId}/resources β Retrieve all resources in a subscription
/resourceGroups/{resourceGroupName} β View and manage resource groups
/virtualMachines β Get a list of virtual machines
Authentication? OAuth (requires Azure AD token)
Things to look for:
What headers are required in a request?
How are API calls structured to target specific resources?
How does Azure handle API versioning?
3. Microsoft Exchange Online API (Mail API in Graph) β Manage emails & mailboxes
Link to docs: Microsoft Graph Mail API
Example endpoints:
/me/messages β Retrieve emails from a mailbox
/me/sendMail β Send an email programmatically
/users/{userId}/mailFolders β Access mailbox folders
Authentication? OAuth (requires Microsoft 365 permissions)
Things to look for:
What request body format is required to send an email?
Can you retrieve only unread emails?
How are email attachments handled in API requests?
Want to explore other APIs?
Try finding API documentation for:
NinjaOne API β Automate endpoint management, patching, and alerts
Slack API β Automate messages and manage channels
GitHub API β Automate repositories, issues, and user management
Datto API β Manage backups, disaster recovery, and device monitoring
ConnectWise API β Automate ticketing, customer management, and billing
Wrap-up discussion
Which API was easiest to navigate?
What was the most confusing part of the documentation?
How does authentication impact API access?
What are some key takeaways for working with APIs in general?
Last updated
Was this helpful?