Get All Policies

Returns all policies. The results are paginated.

Header Access Token

To call this endpoint, you must use your access token in the authorization header of the API request.

Headers

AuthorizationstringRequired

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