v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-01140308542.4 KB
svc-org-management_other

Exchange service account credentials for an organization-scoped M2M token.

Credentials may be provided via HTTP Basic Authentication (RFC 6749 Section 2.3.1, preferred) or as form body parameters. The server MUST NOT accept credentials in both locations simultaneously and will reject such requests with a 400 error.

post/service-account-token

Headers

X-Client-Request-IDstring uuid

Unique request identifier specified by the originating caller and passed along by proxies.

Response

M2M token generated successfully

access_tokenstring required

The M2M access token

token_typestring required

Token type (always "Bearer")

expires_ininteger

Token expiration time in seconds

Example response

{
  "token_type": "Bearer",
  "expires_in": 3600
}