Riverbed IQ REST API portal

Select API:
Overview
Overview

Overview

Welcome to the Riverbed IQ API Documentation. The following APIs enable developers to integrate IQ into custom applications or tools that interact with our platform programmatically, enabling seamless integration of our services into your applications. You may select an API to view in the top right of this page.

Authorization Information

Calls that require authorization will need to have a bearer token added as an authorization header. Riverbed IQ API services use OAuth 2.0 client credentials grant flow (sometimes called two-legged OAuth). Instructions for how to generate OAuth 2.0 credentials can be found in the IQ User Documentation for the API Access Page

Required Information:

  • Client Credentials flow to generate an Access token require the following information. Values should be obtained from the Administration > API Access Page in your Riverbed IQ User Interface.
    • token URI
    • client_id
    • client_secret
    • scope
    • grant_type (client_credentials)
Here is an example using python to retrieve a token:
                        
import requests

url = "https://{AUTH_PROVIDER_TOKEN_SERVICE}/{CustomerID}/oauth2/v2.0/token"  // token  URI

payload = 'client_id={CLIENT_ID}}'
payload += '&scope={SCOPE}'
payload += '&grant_type=client_credentials'
payload += '&client_secret={CLIENT_SECRET}'
headers = {
  'Content-Type': 'application/x-www-form-urlencoded'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)