curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"otp": "123456"}'
import requests
response = requests.post(
"https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp",
params={"api_key": "YOUR_API_KEY"},
json={"otp": "123456"}
)
print(response.json())
{
"ok": true,
"data": "OTP verification completed successfully; your warmup account is now unblocked."
}
{
"message": "The OTP entered is incorrect. Please attempt again."
}
{
"message": "No valid OTP exists for this email account."
}
{
"message": "Invalid email account id!"
}
Email Account Management
Verify Warmup Unblock OTP
Submit the warmup unblock OTP to unblock and re-activate warmup for an email account
POST
/
api
/
v1
/
email-accounts
/
{account_id}
/
verify-otp
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"otp": "123456"}'
import requests
response = requests.post(
"https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp",
params={"api_key": "YOUR_API_KEY"},
json={"otp": "123456"}
)
print(response.json())
{
"ok": true,
"data": "OTP verification completed successfully; your warmup account is now unblocked."
}
{
"message": "The OTP entered is incorrect. Please attempt again."
}
{
"message": "No valid OTP exists for this email account."
}
{
"message": "Invalid email account id!"
}
On a correct OTP, the account’s warmup is unblocked and set to
ACTIVE. Request an OTP first with Send Warmup Unblock OTP.Path Parameters
Query Parameters
Request Body
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"otp": "123456"}'
import requests
response = requests.post(
"https://server.smartlead.ai/api/v1/email-accounts/101/verify-otp",
params={"api_key": "YOUR_API_KEY"},
json={"otp": "123456"}
)
print(response.json())
Response Example
{
"ok": true,
"data": "OTP verification completed successfully; your warmup account is now unblocked."
}
{
"message": "The OTP entered is incorrect. Please attempt again."
}
{
"message": "No valid OTP exists for this email account."
}
{
"message": "Invalid email account id!"
}
