Skip to main content

Creating authorization for DX API tests

Suggest edit Updated on February 7, 2022

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

V2 DX API 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.

Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us