Find the product ID

When using the New Relic REST API examples, you need to replace the product ID placeholder ({APPID}, {SERVERID}, {KEYTX_ID}, {PLUGIN_ID}, {COMPONENT_ID}, etc.) with the product ID for that New Relic product. You can obtain a list of all product IDs with the API Explorer, or use the URL in the New Relic UI to determine the ID.

Use the API Explorer

You can use the API Explorer to return a list of all product IDs for a particular product:

  1. From New Relic APM, navigate to your target app.
  2. Navigate to the API Explorer at rpm.newrelic.com/api/explore , then select your account name from the Select an account dropdown.
  3. From the sidebar, select (product category) > GET List. Select Send Request.
  4. Browse the Response to locate the product ID.

Use the product ID you located in your REST API calls.

Use the New Relic UI

You can use the New Relic UI to locate a specific product ID in the URL:

APM: App

To locate the {APP_ID} from the New Relic UI:

  1. Go to rpm.newrelic.com/apm > (select an app).
  2. In the URL bar, copy the number after the /applications/ section of the URL:

    https://rpm.newrelic.com/accounts/ACCOUNT_ID/applications/APP_ID

Substitute this number for the {APP_ID} in your REST API calls.

APM: Key transaction

To locate the {KEYTX_ID} from the New Relic UI:

  1. Go to rpm.newrelic.com/apm > Key transactions > (selected key transaction).
  2. In the URL bar, copy the number after the /key_transactions/ section of the URL:

    https://rpm.newrelic.com/accounts/ACCOUNT_ID/key_transactions/KEYTX_ID

Substitute this number for the {KEYTX_ID} in your REST API calls.

Browser

To locate the {APP_ID} from the New Relic UI:

  1. Go to rpm.newrelic.com/browser > (select an app).
  2. In the URL bar, copy the number after the /browser/ section of the URL:

    https://rpm.newrelic.com/accounts/ACCOUNT_ID/browser/APP_ID

Substitute this number for the {APP_ID} in your REST API calls.

Mobile

To locate the {MOBILE_ID} from the New Relic UI:

  1. Go to rpm.newrelic.com/mobile > (select an app).
  2. In the URL bar, copy the number after the /mobile/ section of the URL:

    https://rpm.newrelic.com/accounts/ACCOUNT_ID/mobile/MOBILE_ID

Substitute this number for the {MOBILE_ID} in your REST API calls.

Plugins

To locate the {COMPONENT_ID} from the New Relic UI:

  1. Go to rpm.newrelic.com/plugins > (select a plugin).
  2. In the URL bar, copy the number after the /dashboard/ section of the URL:

    https://rpm.newrelic.com/accounts/ACCOUNT_ID/dashboard/COMPONENT_ID

Substitute this number for the {COMPONENT_ID} in your REST API calls.

For more help

Additional documentation resources include:

Recommendations for learning more: