Skip to content

Authentication ​

Authentication is required to interact with the API. The method depends on whether you are acting as an automated API Client or interacting manually as a logged-in user.

Authentication MethodDescription
API ClientFor automated API client authentication (machine-to-machine) using the client_credentials grant type.
Session CookieFor manual API interaction (e.g., via SwaggerUI, Postman, curl) as a logged-in user. This method relies on the HttpOnly session cookie (cmp-access-token) saved in your browser upon successful manual login to the main portal (https://private.cloud.swisscom.ch).
Token ExchangeFor authenticating with tokens from your own external Identity Provider (e.g., Microsoft Entra ID). Requires prior configuration on the tenant. See also Token Exchange overview.