Messtone Devices Enables ExxonMobil API https://developer.exxonmobil.com Messtone will be directed to https://apihub.exxonmobil.com Use the button on the page “External Userrobertharper Login”. robertharper616@gmail.com, password. Request API Token The base URL is: https://uat.api.ext.exxonmobil.com And all API request must be made over HTTPS with TLS 1.2. Request for an account to call API via local page, with following info: Company Name Messtone: Business Contact Name Robert Harper/Email robertharper616@gmail.com IT Contact Name Robert Harper/Email: robertharper616@gmail.com follow Credentials: client_id and client_secret for calling APIs To get a token, make a call to https://login.ext.exxonmobil.com/oauth/token and pass robertharper_Messtone client_id and client_secret assigned to robertharper_Messtone account. POST /oauth/token HTTP/1.1 Host robertharper_Messtone: login.ext.exxonmobil.com Content-Type:application/json {“client_id”:”robertharper_Messtone_account_client_id”,”client_secret”:”robeetharper_Messtone_account_client_secret”,”audience”: “https://uat.api.ext.exxonmobil.com”,”grant_type”:”client_credentials”} To get a token for production, chance the audience to https://api.ext.exxonmobil.com when the token expires, repeat the request to /oauth/token endpoint to acquire a fresh new access token. {“access_token”:”robertharper_Messtone_access_token”,”expires_in”:86400,”token_type”:”Bearer”} GET /customer/chem/v1/accounts HTTP/1.1 Host robertharper_Messtone: uat.api.ext.exxonmobil.com Authorization:Bearer {robertharper_Messtone_access_token} Content-Type:application/json {“data”:{…}} Status codes return by the API. Status Code 200 OK/201 Created Description Request successful

Leave a comment