> For the complete documentation index, see [llms.txt](https://help.recart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.recart.com/developers/public-api.md).

# Public API

- [Abandonment](https://help.recart.com/developers/public-api/abandonment.md)
- [Abandon a session](https://help.recart.com/developers/public-api/abandonment/abandon-a-session.md)
- [Account](https://help.recart.com/developers/public-api/account.md)
- [Retrieve the accounts of the API key](https://help.recart.com/developers/public-api/account/retrieve-the-accounts-of-the-api-key.md)
- [Cart](https://help.recart.com/developers/public-api/cart.md)
- [Update cart](https://help.recart.com/developers/public-api/cart/update-cart.md)
- [Clear cart](https://help.recart.com/developers/public-api/cart/clear-cart.md)
- [Discount](https://help.recart.com/developers/public-api/discount.md)
- [Retrieve list of discounts](https://help.recart.com/developers/public-api/discount/retrieve-list-of-discounts.md)
- [Retrieve a single discount](https://help.recart.com/developers/public-api/discount/retrieve-a-single-discount.md)
- [Event](https://help.recart.com/developers/public-api/event.md)
- [Create new event source](https://help.recart.com/developers/public-api/event/create-new-event-source.md)
- [Post an event](https://help.recart.com/developers/public-api/event/post-an-event.md)
- [Flow](https://help.recart.com/developers/public-api/flow.md)
- [Retrieve list of flows](https://help.recart.com/developers/public-api/flow/retrieve-list-of-flows.md)
- [Receive a single flow](https://help.recart.com/developers/public-api/flow/receive-a-single-flow.md)
- [Statistics view of the site's flows and campaigns](https://help.recart.com/developers/public-api/flow/statistics-view-of-the-sites-flows-and-campaigns.md)
- [Retrieve list of automated flows](https://help.recart.com/developers/public-api/flow/retrieve-list-of-automated-flows.md)
- [Receive a single automated flow](https://help.recart.com/developers/public-api/flow/receive-a-single-automated-flow.md)
- [Statistics view of an automated flow](https://help.recart.com/developers/public-api/flow/statistics-view-of-an-automated-flow.md)
- [Retrieve list of campaigns](https://help.recart.com/developers/public-api/flow/retrieve-list-of-campaigns.md)
- [Receive a single campaign](https://help.recart.com/developers/public-api/flow/receive-a-single-campaign.md)
- [Statistics view of a campaign](https://help.recart.com/developers/public-api/flow/statistics-view-of-a-campaign.md)
- [List](https://help.recart.com/developers/public-api/list.md)
- [Retrieve list of lists](https://help.recart.com/developers/public-api/list/retrieve-list-of-lists.md)
- [Retrieve a single list](https://help.recart.com/developers/public-api/list/retrieve-a-single-list.md)
- [Add or remove phone numbers to a list](https://help.recart.com/developers/public-api/list/add-or-remove-phone-numbers-to-a-list.md)
- [Message](https://help.recart.com/developers/public-api/message.md)
- [Send message(s) to a subscriber](https://help.recart.com/developers/public-api/message/send-message-s-to-a-subscriber.md)
- [Returns the message's status by its ID](https://help.recart.com/developers/public-api/message/returns-the-messages-status-by-its-id.md)
- [Optin Tool](https://help.recart.com/developers/public-api/optin-tool.md)
- [Retrieve list of opt-in tools](https://help.recart.com/developers/public-api/optin-tool/retrieve-list-of-opt-in-tools.md)
- [Receive a single opt-in tool](https://help.recart.com/developers/public-api/optin-tool/receive-a-single-opt-in-tool.md)
- [Statistics view of an opt-in tool](https://help.recart.com/developers/public-api/optin-tool/statistics-view-of-an-opt-in-tool.md)
- [Statistics view of all opt-in tools of the site](https://help.recart.com/developers/public-api/optin-tool/statistics-view-of-all-opt-in-tools-of-the-site.md)
- [Retrieve list of A/B test experiments](https://help.recart.com/developers/public-api/optin-tool/retrieve-list-of-a-b-test-experiments.md)
- [Receive a single A/B test experiment](https://help.recart.com/developers/public-api/optin-tool/receive-a-single-a-b-test-experiment.md)
- [Statistics view of an A/B test experiment](https://help.recart.com/developers/public-api/optin-tool/statistics-view-of-an-a-b-test-experiment.md)
- [Order](https://help.recart.com/developers/public-api/order.md)
- [Create an order](https://help.recart.com/developers/public-api/order/create-an-order.md)
- [Update an order](https://help.recart.com/developers/public-api/order/update-an-order.md)
- [Fulfill an order](https://help.recart.com/developers/public-api/order/fulfill-an-order.md)
- [Segment](https://help.recart.com/developers/public-api/segment.md)
- [Retrieve list of segments](https://help.recart.com/developers/public-api/segment/retrieve-list-of-segments.md)
- [Retrieve a single segment](https://help.recart.com/developers/public-api/segment/retrieve-a-single-segment.md)
- [Subscriber](https://help.recart.com/developers/public-api/subscriber.md)
- [Find subscribers by phone number](https://help.recart.com/developers/public-api/subscriber/find-subscribers-by-phone-number.md)
- [Update subscriber's custom attributes](https://help.recart.com/developers/public-api/subscriber/update-subscribers-custom-attributes.md)
- [Retrieve a single subscriber](https://help.recart.com/developers/public-api/subscriber/retrieve-a-single-subscriber.md)
- [Statistics view of the site's subscribers](https://help.recart.com/developers/public-api/subscriber/statistics-view-of-the-sites-subscribers.md)
- [Subscription](https://help.recart.com/developers/public-api/subscription.md)
- [Initiate SMS subscription](https://help.recart.com/developers/public-api/subscription/initiate-sms-subscription.md)
- [Unsubscribe SMS subscriber](https://help.recart.com/developers/public-api/subscription/unsubscribe-sms-subscriber.md)
- [Webhook](https://help.recart.com/developers/public-api/webhook.md)
- [Retrieve list of webhooks](https://help.recart.com/developers/public-api/webhook/retrieve-list-of-webhooks.md)
- [Create a new webhook](https://help.recart.com/developers/public-api/webhook/create-a-new-webhook.md)
- [Recieve a single webhook](https://help.recart.com/developers/public-api/webhook/recieve-a-single-webhook.md)
- [Remove an existing webhook](https://help.recart.com/developers/public-api/webhook/remove-an-existing-webhook.md)
- [Models](https://help.recart.com/developers/public-api/models.md)
- [How to Setup a Subscription Flow with Recart API](https://help.recart.com/developers/public-api/how-to-setup-a-subscription-flow.md): Walks through creating an event source and integration flow to initiate SMS subscriptions via the Recart API.
- [How to Trigger a Flow with Custom Events](https://help.recart.com/developers/public-api/how-to-trigger-a-flow-with-custom-events.md): Shows how to trigger a Recart flow for an existing subscriber from your backend using custom events.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.recart.com/developers/public-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
