Get All Policies

Returns all policies. The results are paginated. <Note title="Header Access Token"> To call this endpoint, you must use your [access token](/docs/how-to-create-access-keys) in the [authorization header](/docs/how-to-use-api-keys-in-http-headers) of the API request. </Note>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

appIdstringOptionalDefaults to 6d834x9k1yh4dx6z
An optional app id to filter results by policies associated with that app.
limitintegerOptionalDefaults to 10
An optional parameter to limit the number of results per page.
beforestringOptional

String - used for pagination. If there are previous results, before field is returned in the response and can be passed in the request to fetch the previous page.

afterstringOptional

String - used for pagination. If more results are available after field is returned in the response and can be passed in the request to fetch the next page.

Response

Policies fetched successfully
dataobject or null
errorobject or null