API Authorization

Requestly allows you to send authorization data along with your API. Authorization data contains information about the send has the permission to access the API.

While developing the API you can choose a variety of authorization methods depends on the use case. For the third party API authorization is given by that provider only.

Request Authorization

Authorization data can be entered in authorization tab. Authorization tab is available both at collection and request level. Auth Data can be included in any request and collection. Auth data specified at collection level means all the APIs in that collection will be using that until and unless they have their own Authorization Data or have selected NO-AUTH. Requestly will automatically populate these authorization data in relevant parts of the request depending on the auth type chosen.

Variable support is present in Authorization Values so that it can be used at multiple places.

Auth data can be shared while exporting the request or collections but variable values are not exported.

Steps to add Authorization

  1. Click on any request or collection.

  2. Click on authorization tab

  3. Select the authorization types from dropdown (Currently supported Authorization Types)

  4. Enter Authorization values different types have different fields.(Different Authorization fields)

    Example -> Basic Auth

  5. Click on send. Authorization data will be sent along with the API.

Updated on