API authentication

Hi,
What token do I need to use to send API requests?

@Aleksandra Thank you for your question.
It depends on the type of request sent and endpoint used. For example, some customer related information is fetched using SaaS token but the rest requires Service access token.
Example request to receive service access token below:

curl -i -X POST \
  https://api.emporix.io/oauth/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'client_id={client_id}' \
  -d 'client_secret={client_secret}' \
  -d grant_type=client_credentials \
  -d 'scope=tenant={tenant} ...'