URL: https://digitalconnectproxy.verizon.com:443/oauthv1/client_credential/accesstoken?grant_type=client_credentials
OAuth 2.0 is the industry-standard protocol for authentication and authorization. All Verizon APIs are protected by OAuth 2.0.
1) Obtain the client credentials by subscribing to the API
Client applications need Client ID and Client Secret to obtain the oAuth 2.0 access token. TO obtain the client credentials , go to the 'Develop' tab click on the "Subscribe Now" button to subscribe to an API.Once the subsription has been approved,click on the subscription name to obtain the client key and secret.Separate client credentials are provided for test and production environment.
For the production environment,the Client ID and Secret are provided only to the Company Admin.
2) Obtain the accessToken.
Before the client application can access Verizon APIs , it must obtain an access token that grants access to that API.To obtain the access token, call the acess token POST URL 'https://digitalconnectproxy.verizon.com:443/oauthv1/client_credential/accesstoken?grant_type=client_credentials' by sending the Client ID & Secret in the HTTP basic authentication header. The body of this request should be set to 'grant_type=client_credentials'.
3) Invoke the API.
Once the access token is obtained, invoke the API call with the accesstoken set in the HTTP authorization header.
4) Refresh the accesstoken.
Access tokens have limited lifetimes. The access token Verizon issues are valid for 60 minutes. If the client applications needs invoke the API beyond the lifetime of a single access token, a new access token is to be obtained. Invoke the access token URL every 55 mins to get a new token.