Wirelane EMobilityCloud API (2.0)

Basic information

To use this API, a client_id and client_secret is needed. Please contact our support to receive one for your app.

There are two kinds of endpoints:

  • endpoints that are accessible without having an Wirelane user account, these use the OAuth2ClientCredential security scheme.
  • endpoints that are only available to Wirelane user accounts, these use the OAuth2Password security scheme.

Host names for the endpoints

OAuth host names

  • Staging: oauth.emobilitycloud-staging.com
  • Production: oauth.emobilitycloud.com

API host names

  • Staging: api.wirelane-staging.com
  • Production: api.wirelane.com

OAuth

Public endpoints (OAuth2ClientCredential)

Retrieving a JWT access token:

POST https://${oauth_host_name}/token
Content-Type: application/x-www-form-urlencoded
Accept: application/json

grant_type=client_credentials&client_id=...&client_secret=...&scope=account

Authenticated endpoints (OAuth2Password)

Retrieving a JWT access token:

POST https://${oauth_host_name}/token
Content-Type: application/x-www-form-urlencoded
Accept: application/json

grant_type=password&client_id=...&client_secret=...&username=...&password=...

Using the access token

The access_token property from the response to the authentication request needs to be provided as authorization header to the requests:

Authorization: Bearer ${access_token}
Overview
Servers
https://api.wirelane.dummy/apis/emc