> ## Documentation Index
> Fetch the complete documentation index at: https://developers.weticket.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Create an API key and make your first request.

**1. Create an API key**

In the WeTicket dashboard, go to **Settings > Integrations > API keys** and choose **Create API key**.
Give it a name you recognise, such as the software that will use it, and pick what it may read.

The full key is shown **once**. Store it in your password manager or in the secret store of your
server straight away.

**2. Make a request**

Send the key as a bearer token:

```bash theme={null}
curl https://api.weticket.io/public/v1/organization \
  -H "Authorization: Bearer wt_live_..."
```

**3. List your events**

```bash theme={null}
curl -g "https://api.weticket.io/public/v1/events?filters[status][\$eq]=published" \
  -H "Authorization: Bearer wt_live_..."
```

Then read the orders of one event:

```bash theme={null}
curl -g "https://api.weticket.io/public/v1/orders?filters[eventId][\$eq]=<event id>&filters[status][\$eq]=completed" \
  -H "Authorization: Bearer wt_live_..."
```

The [API reference](https://developers.weticket.com/api-reference/endpoint/list-orders.md) shows every endpoint with example responses. Paste
your key in the **Authorization** field there to try a request straight from the page.

> [!WARNING]
>
> Keep the key on your server. Anyone who has it can read what its scopes allow, including the names
> and email addresses of your buyers. Never put it in a website or app that runs on someone else's device.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.