Skip to main content

URL updates to insiders.live

Before the rebranding of Insiders, previously ASI, the root URL of all endpoints of the API was https://api.asi.swiss.

We took the opportunity of introducing the new domain insiders.live to uniformize our URLs and improve our infrastructure. The old asi.swiss URLs will continue to work for now but we highly encourage developers to do the migration as soon as possible.

danger

Older URLs will be discontinued on April 8 2024. After that date, all requests using the old domain or didn't adapt the prefix will fail!

URLs to update

caution

New URLs are served by a new infrastructure. Despite our thorough testing, we cannot completely exclude unforeseen issues once our clients start migrating. This is why until the end of February 2024, the new URLs should be considered "Beta". It is ready for production, but we recommend careful monitoring and testing during this period.

REST API

The /api part is removed.

  • Previous root prefix: https://api.asi.swiss/api/v1
  • New root prefix: https://api.insiders.live/v1
  • Endpoint prefixes affected
    • /account
    • /device-ownerships
    • /devices
    • /jobs
    • /managers

Websocket API

The prefix /ws/v1 is replaced by /v1/ws.

  • Previous root prefix: wss://api.asi.swiss/ws/v1 (previously wss://api.asi.swiss/ws)
  • New root prefix: api.insiders.live/v1/ws
  • Endpoint prefixes affected:
    • /preprocessed-data

OAuth2 API

Endpoints don't change but URLs are moved to a new domain.

  • Previous root prefix: https://api.asi.swiss
  • New root prefix: https://account.insiders.live
  • Endpoint prefixes affected:
    • /oauth2

Example:

  • Previous URL: https://api.asi.swiss/oauth2/token/
  • New URL: https://account.insiders.live/oauth2/token/

Other URLs

These URLs are not API endpoints but rather URLs that are likely to be integrated into applications (e.g forms). Like OAuth2 URLs, only the domain changes.

  • Previous root prefix: https://api.asi.swiss
  • New root prefix: https://account.insiders.live
  • Endpoint prefixes affected:
    • /accounts
    • /device-activation
    • /home
    • /register

Example:

  • Previous URL: https://api.asi.swiss/device-activation/
  • New URL: https://account.insiders.live/device-activation/

Other recommendations

Some URLs may not require any change to support but might be redirected from an older one. Make sure your HTTP implementation supports redirection.