This endpoint allows you to create a new group in your Requestly account. Groups help in organizing and managing rules efficiently. For a live view and to test this API interactively, visit the API Playground.
Endpoint
- Method: POST
-
URL:
https://api2.requestly.io/v1/groups
Body Parameters
| Parameter | Type | Description | Required | Default Value |
|---|---|---|---|---|
name | String | The name of the group to be created. | Yes | - |
status | String | The status of the group. Options: Active, Inactive. | No | Active |
isFavourite | Boolean | Pins the group (true or false). | No | false |
cURL Request
Sample Response
Response Codes
| Status Code | Description |
|---|---|
| 200 | Group created successfully. |
| 400 | Invalid group payload. |
| 401 | Unauthorized action. |
| 500 | Server error. |

