# My tickets

> Where a buyer finds their tickets with no link, and how to link it from your site

Source: https://rcms-tickets-test.web.app/docs/my-tickets

My tickets is the page a buyer uses when the email is gone or a link doesn't work. They sign in with a code sent to their email or phone and see every ticket they hold with you. We host it, and every email to a ticket holder links it in its footer.

## Link it from your site

Put it in your footer or nav. Every event carries the address, for that event's mode:

```ts
const found = await tickets.events.retrieve(event);
console.log(found.my_tickets_url?.includes('/my?org=')); // true
```

It isn't a secret: it opens nothing until the buyer types the code. The checkout kit's storefront carries it as `store.my_tickets_url`, and the kit's confirmation already links it.

## With no event at hand

https://rcms-tickets-test.web.app/my with no `org` asks for an email address. If that address holds tickets, it gets an email with a My tickets link for each organizer holding them. The page answers the same words whether or not anything was found, so it never tells anyone who holds tickets. In test mode the email reaches only members of your organization, marked as a test, and so does the page's code. For anyone else it stays in the outbox while the page says the same words: read it with `GET /v1/test_helpers/mail`. See [test mode](https://rcms-tickets-test.web.app/docs/testing.md).

`POST /v1/holder/find_tickets` is the call behind that page. It only takes calls from our own pages, and is limited per address and per network.
