Authentication

Froomle will provide you with a $CLIENT_ID and $CLIENT_SECRET through the use of https://onetimesecret.com/. Afterwards these credentials will need to be used to retrieve a Bearer token. These tokens can then be used to retrieve recommendations, and manage your item metadata. Below you can find an example:

curl --request POST \
  --url "https://{subdomain}.froomle.com/oauth/token" \
  --header "content-type: application/json" \
  --data "{\"client_id\":\"$CLIENT_ID\",\"client_secret\":\"$CLIENT_SECRET\"}"