OkayAPI Docs


API Path: /api/App/Email/SendCaptcha

API Description: 发送一个动态验证码到指定邮箱,重复发送时,以最后一次发送的验证码为准。使用前,可进入小白开放平台-邮箱验证码配置进行设置。不管成功与否,都能在小白开放平台查看验证码发送日志

2
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
addressStringRequired邮件地址

API Debug

KEYREQUIREDVALUE
app_key *Required
address *Required

API Response

KEYTypeDescription
err_codeInt操作码,0表示发送成功,1表示发送失败,失败原因可查看小白开放平台的日志
err_msgString错误提示信息,err_code非0时参考此提示信息

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400Illegal-Params
Http Status = 401Illegal-Token
Http Status = 402IP-Banned
Http Status = 404API-NOT-Exsits
Http Status = 406Illegal-APPKEY
Http Status = 407APPKEY-Expired-Out
Http Status = 408APPKEY-Busy
Http Status = 409Illegal-Sign
Http Status = 413API-Traffic-NOT-Enough
Http Status = 415API-LOCKED
Http Status = 500Internal-Server-Error