Developer Reference·3 min read
API Keys & Developer Reference
M365Suite provides a fully RESTful API allowing developers to trigger and monitor backup tasks programmatically.
Creating an API Key
- Go to Settings > API Access.
- Click Generate API Key.
- Copy the token displayed in the yellow warning box.
(Note: This token is hashed in our database. It will not be shown again if you refresh the page).
Triggering a Backup via cURL
You can trigger a scheduled backup check run for your tenant using the following request:
curl -X POST "https://portal.m365suite.com/api/backup/scheduled/trigger" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json"
Reading Service Status via API
To check the real-time health of M365Suite services from external scripts:
curl -X GET "https://portal.m365suite.com/api/health"