List API access policies

View as Markdown
GET
/resources/api_resources/{api_id}/policies

Retrieves a paginated list of API access policies (both basic and advanced) for the specified API resource. Optional query parameters allow sorting of the results.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Path Parameters

api_id*string

The unique identifier of the API resource.

Query Parameters

page?integer

The page number to retrieve.

Formatint32
Range1 <= value
Default1
size?integer

The number of API access policies to return per page.

Formatint32
Range1 <= value <= 50
Default10
sort?string

Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, type, is_permitted, creation_time and last_updated

Response Headers

200

x-Pagination?object

Returns the x-Pagination header

page_size*integer

Number of items returned per page.

Formatint32
current_page*integer

The current page number.

Formatint32
total_count*integer

Total number of items available.

Formatint32
has_previous*boolean

Indicates whether a previous page exists.

has_next*boolean

Indicates whether a next page exists.

Response Body

200

application/json

The API access policies were retrieved successfully

TypeScript Definitions

Use the response body type in TypeScript.

Returns an array. Each item has the fields below.

API Access Policy Response: Represents an API access policy.

Errors

401Unauthorized
403Forbidden

curl -X GET "https://your-domain.us.monocloud.com/api/resources/api_resources/EF12vwe266fUHM6dh5Gup/policies?page=1&size=10&sort=priority%3A1" \  -H "X-API-KEY: <token>"
[  {    "id": "string",    "enabled": true,    "name": "string",    "description": null,    "type": "basic",    "is_permitted": true,    "creation_time": 0,    "last_updated": 0,    "revision": 0,    "client_id": null  }]
© 2026 MonoCloud. All rights reserved.