Authentication
This section describes the mechanism by which you obtain an OAuth token used to authenticate and authorize your use of the APIs.
Request
Copy
curl --location 'https://idenserver.itrontotal.com/connect/token/' \
--header 'ContentType: application/x-www-form-urlencoded' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id={{ClientID}}' \
--data-urlencode 'client_secret={{ClientSecret}}' \
--data-urlencode 'scope=DPSSSubscriberApi' \
--data-urlencode 'grant_type=client_credentials'
Parameters
Name |
Description |
Required |
Type |
Format |
---|---|---|---|---|
ClientID |
A public identifier for apps. Provided by Itron. |
TRUE |
String |
UUID |
ClientSecret |
A secret known only to the application and the authorization server. It is essentially the application’s own password. Provided by Itron. |
TRUE |
String |
UUID |
ClientScope |
An identifier for resources that a client wants to access. Set to ‘DPSSSubscriberApi'. |
TRUE |
String |
none |
Response
Copy
{
"access_token": "{auth token}}",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "DPSSApi"
}