> For the complete documentation index, see [llms.txt](https://partner-docs.covergenius.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://partner-docs.covergenius.com/rentalcover/endpoints.md).

# Endpoints

{% hint style="info" %}
**Production API URL:** <https://api.rentalcover.com>

**Staging API URL:** <https://api-staging.rentalcover.com>
{% endhint %}

**Authentication:** Every request requires an `X_API_KEY` header. This is not repeated on each endpoint page. See [Authentication](/rentalcover/authentication.md).

* [Quote](/rentalcover/endpoints/quote.md): Returns a quote based on the customer's booking details. Call this during checkout when the customer has selected a vehicle.
* [Content](/rentalcover/endpoints/content.md): Returns localised marketing copy and UI modules for a given booking reference. Use this to display the product offer and opt-out option.
* [CoverOptOut](/rentalcover/endpoints/coveroptout.md): Records whether the customer opted in or out of RentalCover coverage. Must be called for every customer who is shown the offer.
* [InstantBooking](/rentalcover/endpoints/instantbooking.md): Creates a quote and confirms the booking in a single request. Use this when you want to skip the separate Quote and Purchase steps.
* [Purchase](/rentalcover/endpoints/purchase.md): Confirms and books a quote. Call this after the customer accepts the quote and provides payment details.
* [Status](/rentalcover/endpoints/status.md): Returns the current status and full details of a booking by its reference. Use this to verify a purchase or check the booking state.
* [Update](/rentalcover/endpoints/update.md): Modifies a quoted or purchased protection (dates, cover amount, customer details). Requires a two-step call: preview then commit.
* [Update Customer](/rentalcover/endpoints/update-customer.md): Updates customer personal information on an existing protection.
* [Cancel](/rentalcover/endpoints/cancel.md): Cancels a quoted or purchased protection. Only available before the protection start date.
* [Notification/list](/rentalcover/endpoints/notifications-list.md): Returns pending booking events created directly in RentalCover (e.g. customer-initiated changes). For partners using invoicing rather than card payment.
* [Notification/update](/rentalcover/endpoints/notification-update.md): Acknowledges that your system has processed a notification event.
* [GetAllPurchasedPolicies](/rentalcover/endpoints/getallpurchasedpolicies.md): Returns a paginated list of all purchased and cancelled protection. Filtered by last-modification date.
* [GetAllCancelledPolicies](/rentalcover/endpoints/getallcancelledpolicies.md): Returns a paginated list of cancelled protection. Filtered by last-modification date.
* [Invoice](/rentalcover/endpoints/invoice.md): Returns the invoice PDF for a confirmed booking.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://partner-docs.covergenius.com/rentalcover/endpoints.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
