Desarrolladores y la API
Create an API key so your own tools can read your ticket sales
An API key lets your own spreadsheet, dashboard or agent read what you can read, without a dashboard password changing hands. Promoters running more than a handful of events keep their ticket sales in the tools they already work in.
Give the command line, a script or an agent its own key to your ticket sales, choose how long it lasts, and take it back the moment you need to.
- Para
- Connecting your own tools, scripts or agents to your ticket sales
- Dura
- 7 minutos
Antes de empezar
- You know which tool needs the access: a laptop, a server, a scheduled script or an agent. One token per tool lets you take access back from one of them without touching the others.
- You have somewhere safe to keep the token, such as your password manager or your build system's secret store. The token is shown once and never again.
-
Open your account settings
Open your account settings and find Personal Access Tokens.
Nota: These sit on your own account rather than on a brand, because a token carries your permissions. A teammate who needs their own access creates their own.
The tokens on an account, with one part-way through a rotation. -
Name the token after the tool that will hold it
Select New Personal Access Token and enter the tool's name in Token name.
Nota: Name it for the laptop, service or script rather than for the job, because the name is how you find the right row when you take access back.
-
Choose how long it should last
Open Set custom expiry and pick a length that suits the tool.
Nota: A year is the default and the longest available. Pick an hour or seven days for a one-off script, because a short life limits what a leak costs you.
-
Copy the token before you close the window
Select Create token and copy the value it shows you into your password manager.
Nota: The token is shown once. Close the window without copying it and the only way forward is to revoke that token and create another.
-
Generate the brand key for the event APIs
Find API Key on the same page and select Generate API Key.
Nota: This is the key the event APIs ask for, the referral leaderboard among them. Regenerating it stops every application using the old key until you update them.
The two keys, once each has been generated.
Prueba estos pasos en tu propio evento
Crea una cuenta gratis, monta tu evento y sigue los pasos de arriba en tu propio panel. Tarda unos minutos y no necesitas reservar una llamada comercial.
Sin cuotas de alta. Sin cuota mensual obligatoria. Sin tarjeta de crédito.
O deja que lo hagan por ti
Fai can open the page where the tokens live. Minting one is yours to do, because the token is shown once and only to you.
En tu panel, con Fai
Open my account settings so I can create an access token
Desde tu propio asistente, por MCP
Conecta tu asistente a nuestro servidor MCP y pídele:
Mantén --read-only en tu configuración MCP. Esta tarea solo lee datos, así que tu asistente no necesita herramientas que hagan cambios.
Pick the brand <BRAND NAME> and show its events
Desde tu terminal
Instala la CLI desde nuestra página de la CLI, inicia sesión con ticketfairy auth login y elige la marca con la que trabajas usando ticketfairy brand use <BRAND_ID>. ticketfairy brand list y ticketfairy event list muestran los ID que usan los demás comandos.
Sign the command line in with the token, then check which brands it reaches.
Sign in with a token you have created
ticketfairy auth login
Show the brands the token can act for
ticketfairy brand list
Deja que Fai lo haga por ti
Fai trabaja dentro de tu panel de Ticket Fairy. Crea tu cuenta, abre Fai y pega la instrucción de arriba.
Sin cuotas de alta. Sin cuota mensual obligatoria. Sin tarjeta de crédito.
Swap a token without any downtime
-
Rotate it instead of replacing it
Select Rotate on the row and copy the new token.
Nota: Rotating mints a fresh token under the same name and leaves the old one working for a grace period. Update every script and service before that window ends.
-
Tell the two rows apart afterwards
Look for the badge marking the older half of the rotation before you remove anything.
Nota: Both rows carry the same name, so the badge is what stops you taking the fresh token out of service by mistake.
Fai can open the page. Rotating and copying the new token stay with you, because the value is shown once and only to you.
En tu panel, con Fai
Open my account settings so I can rotate an access token
Desde tu propio asistente, por MCP
Mantén --read-only en tu configuración MCP. Esta tarea solo lee datos, así que tu asistente no necesita herramientas que hagan cambios.
Pick the brand <BRAND NAME> and show its events
Desde tu terminal
Sign in again with the new token.
Sign in with the token you copied
ticketfairy auth login
Take access back
-
Revoke the token the moment it leaks
Select Revoke on the row for the tool that is affected.
Nota: Revoking stops that token immediately and cannot be undone. The tool needs a new token before it works again.
Fai can open the page. Revoking is yours to confirm, because it stops a live integration the moment it happens.
En tu panel, con Fai
Open my account settings so I can revoke an access token
Desde tu propio asistente, por MCP
Mantén --read-only en tu configuración MCP. Esta tarea solo lee datos, así que tu asistente no necesita herramientas que hagan cambios.
Pick the brand <BRAND NAME> and show its events
Desde tu terminal
Check what the remaining tokens still reach.
Show the brands the current token can act for
ticketfairy brand list
Preguntas que puedes tener
- Which one do I use for the command line?
- A personal access token. The command line, your own scripts and your agents all sign in with one, and each inherits the permissions your dashboard account has.
- What is the API key for, then?
- The event APIs, such as your referral leaderboard. It is issued against the account that asks for it, so a tool meant to outlive one person needs a key from an account that stays on the team.
- Can a token do everything I can?
- Within your permissions, yes. That is why one token per tool and a short expiry are worth the extra minute, and why revoking is instant and never rate limited.
- How many tokens can I create?
- Ten an hour, counting rotations, and you cannot create a new one while fifty are already live. Waiting clears the hourly count; the fifty needs you to revoke one you have finished with. A rotation is exempt from the fifty, so it can hold fifty-one until the old token runs out its grace period.
- What if I close the window without copying the token?
- Revoke that token and create another. The value is never shown again, so there is nothing to recover and nothing lost by starting over.
¿Todavía tienes una pregunta?
Reserva una demo y te la respondemos en una llamada, sobre tu tipo de evento. O crea tu cuenta y compruébalo por ti mismo.
Sin cuotas de alta. Sin cuota mensual obligatoria. Sin tarjeta de crédito.
Guías relacionadas
Hazlo en tu propio evento
Crea tu cuenta, monta tu evento y sigue los pasos en tu propio panel. No necesitas reservar una llamada comercial.