### General API Endpoints Source: https://developer.vanta.com/docs/vanta-api-overview This section details the general structure and interaction methods for the Vanta API, excluding specific endpoints. ```APIDOC ## API Structure ### Base URL `https://api.vanta.com` ### Request Methods * GET: Retrieve data * POST: Create data * PATCH & PUT: Update data * DELETE: Remove data ### Query Parameters * `pageSize` (integer): Adjust the number of results returned. * `pageCursor` (string): Used to query additional pages after checking `results.pageInfo.hasNextPage`. * Filters: Various endpoints support filters to refine data retrieval. ``` -------------------------------- ### Authentication Endpoint Source: https://developer.vanta.com/docs/vanta-api-overview The Vanta API uses OAuth for authentication. This is the endpoint to obtain an authentication token. ```APIDOC ## POST /oauth/token ### Description Obtain an OAuth token for authenticating API requests. ### Method POST ### Endpoint https://api.vanta.com/oauth/token ``` -------------------------------- ### Error Handling Source: https://developer.vanta.com/docs/vanta-api-overview Standard HTTP response codes used by the Vanta API to indicate the success or failure of a request. ```APIDOC ## Response and Error Handling ### Success Response * Status Code: 200 OK * Body: Requested data in JSON format. ### Error Responses * 400 - Bad request: Incorrectly formatted requests. * 401 - Unauthorized: Missing or invalid authorization header. * 403 - Forbidden: Authenticated user lacks permission for the resource. * 404 - Not found: Requested resource or endpoint does not exist. * 422 - Unprocessable entity: Request is semantically incorrect but syntactically valid. * 429 - Too many requests: Rate limit exceeded. * 500 - Internal Server error: Unexpected server error. * 503 - Timeout: Request timed out on the service side. * 504 - Gateway timeout: Gateway timed out. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.