Skip to main content

Create an API key

Create a client and key for scripts and apps. Sign in from an assistant when you want it to use an Account without a key.

Written by Emma

A key lets a script or app call Muzeek on its own. Poly and other programs that send a key use this path. You create the key once, copy it, and store it somewhere safe. It is shown only at that moment.

If you wanted an assistant such as Claude, ChatGPT, Gemini, Copilot, or Grok Bot to sign in and pick an Account, see Connect an AI assistant or custom MCP client.

Both paths are also on https://muzeek.ai/developers.

Create a client and key

  1. Open Settings → API & MCP.

  2. On the API card, click Create API Client.

  3. Open the client, then click Generate API Key.

  4. Name the key and choose what it can do.

  5. Copy the key when it appears. You will not be able to open it again from this screen.

  6. Send the key as Authorization: Bearer or as X-API-Key. Do not put it in the URL.

You can revoke a key from the same client when you no longer want it to work.

When to use a key

Use a key for scripts and apps that send the key with each request. A connected assistant, or a key with Write Events, can add schedule items on an event, change Profit & Loss, and read or change Lineup. Creating an event needs a start date; times you leave out follow the type, then Settings, then 8:00 pm–10:00 pm.

Choose Read Events when the script needs Profit & Loss or Lineup for a show. Profit & Loss totals are calculated for you. Lineup is the same bill as Event → Lineup. Write Events is what changes Lineup: a slot label you send sticks, the default Lineup can't be renamed, and new stages go after the ones already on the show. Choose Read Ticket Reports when the script needs sold, remaining, and money totals for a show or tour. Those totals follow the show date, not the date tickets were bought.

Choose Read Bookings and Write Bookings when the script needs offers: Set times, Deal terms, Clauses, and Preview & Send. Creating a booking follows Default booking settings and the account default booking template. Leave When sending off the request to follow Settings → Bookings → When sending, or pass pending, confirmed, or hold. When Deal terms leave who pays or On behalf of unset, they follow Typical deal terms preferences, the same as Add a term. Saving Super on a booking is the same Super save as the Offer. Choose Read Contacts and Write Contacts when the script needs to look up or create To. Creating a contact follows Send contact email invites in Settings → Collaboration.

Choose Read Insights when the script needs account-wide totals for bookings, commission, show P&L, tickets, invoices, settlements, events, or payments. Those totals never include individual bookings, settlements, invoices, or payments. Booking totals can group by who created the booking (the Account that owns it). From and To names may appear as group labels. Totals use actual figures by default. Pass mode=projected for projected figures. Commission totals keep Settlements (actual), Cancelled, and Projected separate for every grouping. Super totals add Paid, In progress, Ready to send, Projected, Failed, and Total. Super on a cancelled or declined booking counts only when it is already queued or sent, has failed, or the booking has a paid or partly paid invoice. Split payments count the parent booking once, not each member. Residencies count each show date.

Choose Read Invoices, Read Payments, and Read Settlements when the script needs the actual invoice, payment, or settlement rows this Account can already open. Those reads include dollar amounts and totals. They do not need Read Insights. Invoice share links need Read Payments. Anyone with that link can open the public invoice page, including payments. Settlement reads do not include a share link. Use the payment date on each payment for when money was received; the invoice paid time is when it was marked paid. Commission on a booking or settlement is the rate, whether it came from the roster default or a booking override. If there's no commission, it says why — for example, no Account was set.

Keys do not include public share links for ticket reports, runsheets, or Profit & Loss. Copy those links while you are signed in.

Use sign-in for an assistant. Use MCP for assistants that don't have a direct plugin or connection on My Preferences → Connectors. Some assistants, such as Claude, ChatGPT, Gemini, Copilot, and Grok Bot, can connect directly from My Preferences → Connectors. See Connect an AI assistant or custom MCP client.

Did this answer your question?