Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

Table of Contents
excludeclass
maxLevel6
minLevel1
maxLevel6
include
outlinefalse
indent
exclude
styledisc
typelist
printablefalse
class

Before you start you need to obtain the following information

...

In order to obtain a token, run the following with grant_type trusted in your backend application

Code Block
languagejsbash
curl -s -H  "Content-Type: application/json" https://beta-api.ambita.com:443/authentication/v2/token -d "
        {
  \
'{
             \"grant_type\": \"trusted\",
           
    \"client_id\": \"CLIENT_ID\",
           
    \"client_secret\": \"CLIENT_SECRET\"
 ,
              \"username\": \"user1\"
        }"}' 

Example response:

Code Block
languagejson
{
  "access_token": "ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "aj274ajd-t1s8-48sk-v5m1-shf64j9bq25a",
  "scope": [
    "infoland.flex"
  ]
}

...

More information about OAuth can be found here: https://www.oauth.com/

Next step Infoland Flex - Flows