Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating authorization for DX API tests

Updated on August 5, 2022

Gain access to V2 DX API testing by creating authorization credentials.

DX API v2 tests require authorization. You can access individual endpoints, but to generate a sample response to an endpoint call, you need an OAuth 2.0 client registration data instance.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Security category, and then click OAuth 2.0 Client Registration.
  3. In the header of the list of client registration instances, click Create.
  4. Complete the form, and then click Create and open.
    Note: The Client Name field identifies the record.
  5. Configure the new record:
    1. In the Supported grant types section, clear the Client credentials check box, and then select the Password credentials check box.
    2. In the Identity mapping field, press the Down arrow key, and then click the default mapping entry that the prompt displays.
    3. Select the Enable refresh token check box.
    4. In the Client Credentials section, click View & download.
    5. In the View & download modal dialog box, click Download credentials.
    6. Save the credentials on your local system.
      Attention: After you save the record, the option to download the credentials is disabled.
  6. In the header of the record, click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us