I have couple of jobs running for a while from Databricks notebook. Since Monday, I have been receiving email verification code (as below). I can’t add this code as jobs are running while I am away.
This email doesn’t provide any link to add this code and I can’t add the code when I am already logged in.
’Security verification required
Dear Mitun,
A login attempt was made to your account from a new location.
IP:
20.67.250.139
Location:
GB, London
Date:
24.06.2026
Time:
10:01
If this was you, please use the following verification code to complete your login:
Use this code:’
How can I stop this? How can I whitelist my ID ([email protected]) so that it will not stop me to run jobs using API?
The verification email appears because your Databricks jobs log in with a username and password, and each run can come from a different cloud IP address. For password-based API logins from a new IP, SimplyBook.me asks for an email verification code as a security measure. This can’t be turned off for a single account, and adding Databricks IPs to Trusted IPs won’t work reliably, because those addresses change.
Recommended solution: switch your jobs to a User API Key. API key authentication is not subject to email/IP verification, so your jobs can run unattended from any IP.
In the SimplyBook.me admin panel, generate a User API Key for the user your jobs log in as.
In your authentication request (getUserToken in the JSON-RPC API, or /admin/auth in the REST API), send the same login as before and the API key in place of the password. No other changes to your code are needed.
Store the key securely, e.g. in Databricks secrets rather than in the notebook itself. Keys have an expiration date (up to 5 years), so plan to rotate them before they expire.
Please note that when a company generates its first User API Key, email/IP verification becomes mandatory for all password-based API logins in that company. So if other scripts or integrations still log in with passwords, move them to API keys as well.
Once your jobs run on the API key, we also recommend changing the password of this user. The old password has been stored in your notebooks/jobs and may have been copied or logged along the way, so it’s a good moment to replace it with a new one that is used only for signing in to the admin panel.
Also, you may want to edit your first post and remove your email address, since this is a public forum.