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. ⚠️Migration to Auth0
  2. Switch API

Token Endpoint

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

Token URL

https://qa-login.switchmarket.se/oauth/token

Grant type

client_credentials

Client ID

How to get client ID?

Client secret

How to get client secret?

Audience

https://qa-api.switchmarket.se

Token URL

https://login.switchmarket.se/oauth/token

Grant type

client_credentials

Client ID

How to get client ID?

Client secret

How to get client secret?

Audience

https://api.switchmarket.se

PreviousOrganization ClientNextOpenADR 3 VTN API

Last updated 1 month ago

Was this helpful?