List Grants

GET
/v1/grants

Returns a list of all grants for a given Connect. This API allows for paginating over many results.

Headers

x-chariot-api-keystringRequired

the apiKey of the Connect object

Query parameters

pageLimitintegerOptional

the number of results to return; defaults to 10, max is 100

pageTokenstringOptional

A token to use to retrieve the next page of results. This is useful for paginating over many pages of results. If set, all other arguments are expected to be kept the same as previous calls and the value of this field should be from the nextPageToken in the previous response.

Response

This endpoint returns an object.
resultslist of objectsOptional
nextPageTokenstringOptional

A cursor token to use to retrieve the next page of results by making another API call to the same endpoint with the same parameters (only changing the pageToken). If specified, then more results exist on the server that were not returned, otherwise no more results exist on the server.

Errors