Skip to content

m365

Read a client's Microsoft Secure Score live

GET/v1/m365/secure-score

Reads the latest Microsoft Secure Score of a client's Microsoft 365 tenant from Microsoft Graph now, with the first ten control scores. A client mapped to several Microsoft tenants needs m365TenantId. Answers unavailable when Microsoft refuses or cannot be reached.

Parameters

NameInRequiredTypeDescription
clientIdqueryYesstring—
m365TenantIdqueryNostring—

Request body

No request body.

Responses and errors

  • 200

    Read a client's Microsoft Secure Score live

    • m365Tenant (required): object
    • score (required): object
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request GET \
  --url 'https://api.scopable.io/v1/m365/secure-score' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'

Replace $SCOPABLE_API_KEY with a key created in Settings, API.

View the OpenAPI 3.1 source

Need help with the API? …