Switch Developer Documentation
  • Welcome
  • ⚠️Migration to Auth0
    • Overview
    • Status
    • Switch API
      • Client Credentials Flow
      • Organization Client
      • Token Endpoint
    • OpenADR 3 VTN API
      • VTN Credentials
      • Token Endpoint
  • Getting Started
    • Concepts
    • Guides
      • How to send readings
      • Market operations
      • Conditional agreements
    • Support
  • Switch API
    • Overview
    • Terms of Use
    • Authentication
      • Client Credentials Flow
      • Organization Client
      • Token Endpoint
    • Rate Limiting
    • Errors
    • API Reference
      • Market Zones
      • Products
      • Resources
      • Meters
      • Readings
  • OpenADR 3
    • Overview
    • Authentication
      • VTN Credentials
      • Token Endpoint
    • API Reference
      • Programs
      • Events
      • Reports
      • Subscriptions
      • Vens
    • Webhooks
      • Callback URL verification
      • Domain and IP addresses
      • Best practices
    • Payloads
    • Code samples
  • Libraries
    • .NET SDK
      • SDK Reference
        • IAuthService.Auth
        • IProgramsService.Programs
        • IEventsService.Events
        • IReportsService.Reports
        • ISubscriptionsService.Subscriptions
        • IVensService.Vens
Powered by GitBook
On this page

Was this helpful?

  1. Switch API
  2. Authentication

Token Endpoint

Following are the details needed for requesting valid access token to access resources in Switch API, per environment.

PreviousOrganization ClientNextRate Limiting

Last updated 6 months ago

Was this helpful?

Token URL

https://login.microsoftonline.com/5c120898-b73f-410c-8738-e6b580cbc530/oauth2/v2.0/token

Grant type

client_credentials

Scope

https://flexmarketqa.onmicrosoft.com/api/.default

Client ID

Client secret

Token URL

https://login.microsoftonline.com/ade9ac73-9d94-4ad3-82a1-977b6f0abe18/oauth2/v2.0/token

Grant type

client_credentials

Scope

https://flexmarket.onmicrosoft.com/api/.default

Client ID

Client secret

How to get client ID?
How to get client secret?
How to get client ID?
How to get client secret?