Create a key
1
Sign in
Open safeconduct.ai and sign in. SafeConduct is invite-only for now: if you have no account, join the waitlist on the sign-up page and the invite arrives by email with your first API key.
2
Open API keys
In the console, go to API keys.
3
Name the key and create it
Under Create a key, type a name that says what will use it, for example
tm-bot-eu, and press Create key.4
Copy it now
The full key is shown once. It starts with
sy_live_. Copy it and keep it in an environment variable or a secret store; the console only shows its first characters afterwards.Send the key
To check that a key works, read your balance. It costs nothing.
401 with the code UNAUTHORIZED.
Keep it safe
- Set a daily cap. A key without one can spend the whole balance if it leaks. The cap is one of the key’s settings.
- Don’t put it in code you publish, in a browser page or in a URL you log. The 2Captcha format carries the key in the request’s parameters, so prefer the form body to the query string there.