M
M365Suite DocsGitHub Edition v1.4
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

  1. Go to Settings > API Access.
  2. Click Generate API Key.
  3. 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"