Authorizing the Client

In order to use the client, you’ll need to provide some authorization details.

Specifically, there are three pieces of information that are required:

This information can be provided in two ways:

  1. As arguments to the client when it's instantiated (see fdl.FiddlerApi)
  2. In a configuration file (see fiddler.ini)

Finding your URL

The URL should point to wherever Fiddler has been deployed for your organization.

If using Fiddler’s managed cloud service, it should be of the form

Finding your organization ID

To find your organization ID, navigate to the Settings page. Your organization ID will be immediately available on the General tab.

Finding your authorization token

To find your authorization token, first navigate to the Settings page. Then click Credentials and Create Key.

Connecting the Client

Once you've located the URL, the org_id and the authorization token, you can connect the Fiddler client to your environment.

URL = ''
ORG_ID = 'my_org'
AUTH_TOKEN = '9AYWiqwxe2hnCAePxg-uEWJUDYRZIZKBSBpx0TvItnw' # not a valid token

# Connect to the Fiddler client
client = fdl.FiddlerApi(

Authorizing via configuration file

If you would prefer not to send authorization details as arguments to fdl.FiddlerApi, you can specify them in a configuration file called fiddler.ini.

The file should be located in the same directory as the script or notebook that initializes the fdl.FiddlerApi object.

The syntax should follow the below example:

url =
org_id = my_org
auth_token = xtu4g_lReHyEisNg23xJ8IEex0YZEZeeEbTwAsupT0U

Then you can initialize the fdl.FiddlerApiobject without any arguments, and Fiddler will automatically detect the fiddler.ini file:

client = fdl.FiddlerApi()