Skip to main content
POST
/
auth
/
v1
Authenticate and get access token
curl --request POST \
  --url https://operator-financial-reporting.staging.ezprk.dev/auth/v1 \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientId": "ABCD1234",
  "clientSecret": "ABCD1234ABCD1234ABCD1234ABCD1234ABCD1234"
}
'
{
  "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiw.KMUFsIDTnFmyG3nMiGM6H9",
  "validUntilDate": "2025-04-01T12:00:00Z"
}

Body

application/json
clientId
string
clientSecret
string

Response

200 - application/json

The authentication token which needs to be passed in X-Authorization header for all the requests