Get an API key
Open the API reference, go to Keys, name the key and make it. Copy it then: it is shown once.
- Plans
- Pro and Team
- You’ll need
- A confirmed email address
On this page
An API key lets your own code do what the app does. Keys come with the Pro and Team plans.
Make a key
- Open the API reference while signed in.
- Under Keys, type what the key is for, so you can tell your keys apart later.
- Choose Make a key.
- Copy the key straight away. It is shown once: we keep only its fingerprint, so nobody (us included) can show it to you again.
Use it
Send it with every call, in the Authorization header:
Authorization: Bearer smg_live_…
Keep it safe
Treat a key like a password: anyone who has it can spend your credits. Keep it out of web pages, apps people download, and anything you commit to a repository.
If a key leaks, or you stop using it, open Keys again and choose Revoke. It stops working at once. An account can hold ten keys.
Did this answer your question?
What was missing? It goes to the person who keeps this page.