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

# API public endpoints

The typical workflow to order tickets using our API is to:&#x20;

1. choose an event\_id from the list of available events
2. choose the ticket type (aka discount\_id)
3. create a cart resource and use the supplied cart\_id to
4. interact with the cart (add/delete seats)
5. determine what payment method is going to be used
6. create the order and redirect the user to the URL provided

With the following endpoints you can achieve all of the above (and some more):

{% content-ref url="/pages/-M2PZXgU0pa1RH0PPeXl" %}
[Events](/api/public-endpoints/api-public.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M2SJ0mlsoEu85EY8bE6" %}
[Ticket types](/api/public-endpoints/tickettypes.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M2TbVqNqdi6TjfUDt16" %}
[Cart](/api/public-endpoints/cart.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M2Xng6IMNkY9NCv-hhn" %}
[Payment](/api/public-endpoints/payment-methods.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M2Z4BPzDh\_1oERVa6sn" %}
[Order](/api/public-endpoints/order.md)
{% endcontent-ref %}
