Skip to content

Getting Started with our Application

Getting Started with our APIs

To begin using the SiGREEN API, follow these steps:

  1. Request SiGREEN API access from the SiGREEN team via sigreeninfo.industry@siemens.com
  2. After our approval process you will get Client ID and a Client Secret.
  3. Make a request against our identity provider SiemensID to receive a JWT by using Client ID and Client Secret provided by SiGREEN team.
  4. Include the JWT Token Authorization header of your HTTP requests.

Request a Token

curl https://<our-siemensid-tenant>/oauth/token \ <-- You will get the correct url from us

  -H 'content-type: application/json' \
  -d "{
            \"client_id\":\"$CLIENT_ID\",
            \"client_secret\":\"$CLIENT_SECRET\",
            \"audience\":\"https://app.sigreen.siemens.com/\",
            \"grant_type\":\"client_credentials\"
      }" 

Example response

{
  "access_token": "jwtHeader.jwtPayload.jwtSignature",
  "token_type": "Bearer",
  "expires_in": 1800
}

Example request to SiGREEN APIs

curl --request POST \
  --url https://app.sigreen.siemens.com/api/products/factoryEmissions/42564 \
  --header 'Authorization: Bearer jwtHeader.jwtPayload.jwtSignature'

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments