The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
SieSmart

SieSmart API provides a secure, seamless link between your own CRM system and SFS online application management tool, SieSmart.

Authentication¶

Authentication is handled using OAuth 2.0 Client Credentials Grant.

Token URLs:

EnvironmentEndpoint URL
Test:https://sfs-q-001.siemens-sfs.auth0app.com/oauth/token
Live (Production)https://sfs-p-001.siemens-sfs.auth0app.com/oauth/token

API Audiences:

EnvironmentAudience
Testhttps://api.siesmart.com/b2b
Productionhttps://api.siesmart.com/b2b

Retrieve an access token¶

To be able to make any API calls, you will need to generate an access token:

POST {TOKEN_URL}

Content-Type: application/json

{
  "audience": "{API_AUDIENCE}",
  "grant_type": "client_credentials",
  "client_id": "{YOUR_CLIENT_ID}",
  "client_secret": "{YOUR_CLIENT_SECRET}"
}

A successful authorization request results in a response like the following:

HTTP/1.1 200 OK

Content-Type: application/json

{
  "access_token": "eyJz93a...k4laUWw",
  "token_type": "Bearer",
  "expires_in": 86400
}

The field access_token contains the token which you use for performing requests to our APIs.

Hint

Tokens are valid for 12 hours so can be cached on your system. Please avoid a set-up that generates a new token for each request.