An API key lets software you run, such as a script, a server or a bot, work in SongPilot without signing in through the browser. It acts with the access the key was given, in the workspace it was made for.
Which plans include it
API keys come with every paid plan, from Starter up. On the free plan the Create New Key button is there but locked, and choosing it tells you which plan you need.
Create the key
- Switch to the workspace the key is for. A key made in the app belongs to the workspace you are in.
- Open Settings, then API Keys, and choose Create New Key.
- Give it a Name that says what uses it, so you can tell keys apart later.
- Pick the Type:
- Personal (User) inherits your permissions. It can do what you can do, and no more. Good for personal scripts.
- Workspace Service has full access to this workspace. Good for servers and bots that should not depend on one person’s account.
- Pick an Expiration: 7, 30, 60 or 90 days, or No expiration. It starts at 30 days.
- Choose Create Key.
Workspace and organization owners making a personal key can also choose a User, to provision a key for another person in the workspace. That key inherits that person’s permissions.
There are no finer-grained scopes to tick. What a key can do comes from its type and, for a personal key, from the permissions of the person it belongs to.
Copy it once
When the key is created, SongPilot shows it with the warning Copy this key now. You won’t be able to see it again! Use the copy button and store it somewhere safe, such as your password manager or your server’s secret settings. After you close the notice, the list only shows the first few characters.
Your software sends the key with each request in the Authorization header, as a Bearer token. Keys start with sp_.
Keep track of keys and revoke them
The list of keys shows each key’s name, type, Created, Expires and Last Used dates. A key that has not been used in months is a good one to remove.
To shut a key off, choose Revoke on its row, then Revoke key to confirm. Revoking is permanent: anything still using that key stops working, and you will need to create a new one for it.
What to do next
The endpoints, request formats and examples are in the SongPilot API docs. To use SongPilot from Claude instead of your own code, you do not need a key at all: see Use SongPilot in Claude Desktop.
