Skip to main content

You can either get a list of all your rules or look up a specific rule using its unique ID.

Get All Rules

Retrieve all rules associated with your Requestly Interceptor workspace. This endpoint supports pagination for managing large sets of data. For a live view and to test this API interactively, visit the API Playground.

Endpoint

  • Method: GET
  • URL: https://api2.requestly.io/v1/rules

Query Parameters


cURL Example:


Sample Responses

Retrieve a Specific Rule

This endpoint allows you to fetch details about a specific rule in your Requestly Interceptor account by its unique ruleId. For a live view and to test this API interactively, visit the API Playground.

Endpoint

  • Method: GET
  • URL: https://api2.requestly.io/v1/rules/{ruleId}

Path Parameters


cURL Example


Sample Response


Response Codes