查看验证记录结果
API名称 查看验证记录结果
API地址 http://mail.outfox.cn/api/third/record/detail
请求方式 GET
请求Header
参数 描述 数据类型
accessKey 身份识别码 String
Authorization 身份认证,详细说明请参考身份说明 String
请求参数
参数 说明 请求类型 数据类型
recordId 验证记录Id,必填 query String
pageNum 列表第几页,选填, 默认为1 query Integer
pageSize 每页数据条数,选填, 默认为10 query Integer
响应结果
{
    "data": [
    {
        "id": "6489e5547cda47b680cf23397408e53a", // 验证记录结果Id
        "recordId": "0ce038554d7340da92cd7834a3e18771", // 验证记录id
        "email": "12123@163.com", // 验证邮箱地址
        "domain": "163.com", // 域名
        "status": "SUCCESS", // 验证状态
        "result": "100", // 验证结果代码,详细描述请参考:邮箱验证结果说明
        "createdTime": "2019-10-17 18:58:53",
        "updatedTime": "2019-10-17 18:59:00"
    }, {
        "id": "9e5787c985ca488a997b079b67703caa",
        "recordId": "0ce038554d7340da92cd7834a3e18771",
        "email": "333222@qq.com",
        "domain": "qq.com",
        "status": "SUCCESS",
        "result": "100",
        "createdTime": "2019-10-17 18:58:53",
        "updatedTime": "2019-10-17 18:59:00"
    }],
    "msg": "ok",
    "code": 200,
    "pagination": {
        "page": 1, // 分页数据第几页
        "limit": 10, // 每页数据个数
        "totalItem": 2, // 总数据个数
        "totalPage": 1 // 总分页数量
    }
}
验证状态描述

字段: data[x].status

可能取值:

  1. PROCESSING: 验证中
  2. SUCCESS: 验证完成

 

示例:

curl -H 'accessKey: 3ec7d1a210314c3cac25cc2ddf41ff42' -H 'Authorization: Bearer C868615D75AD49B82F90C704351BD5A2' -v 'http://mail.51hd.com/api/third/record/query'

示例返回:

* Trying 39.98.224.173...
* TCP_NODELAY set
* Connected to mail.51hd.com (39.98.224.173) port 80 (#0)
> GET /api/third/record/detail HTTP/1.1
> Host: mail.51hd.com
> User-Agent: curl/7.64.1
> Accept: */*
> accessKey: c3a671249cb14ae9bec95a7d8df43298
> Authorization: Bearer 25BF1740617C3C09A29BFB7ABD2F1F4E
>
< HTTP/1.1 200
< Server: nginx/1.8.1
< Date: Thu, 17 Oct 2019 02:25:39 GMT
< Content-Type: application/json;charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: MailVerifierApi=73e96727-e409-4eb8-8ae3-0afb97c942b4; Path=/; Max-Age=604800; Expires=Thu, 24-Oct-2019 02:25:34 GMT; HttpOnly
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
< Access-Control-Allow-Headers: Content-Type,Authorization
< Access-Control-Expose-Headers: Content-Disposition
< Access-Control-Allow-Credentials: true
<
* Connection #0 to host mail.51hd.com left intact
{"data":[{"id":"6489e5547cda47b680cf23397408e53a","recordId":"0ce038554d7340da92cd7834a3e18771","email":"12123@163.com","domain":"163.com","status":"SUCCESS","result":"100","createdTime":"2019-10-17 18:58:53","updatedTime":"2019-10-17 18:59:00"},{"id":"9e5787c985ca488a997b079b67703caa","recordId":"0ce038554d7340da92cd7834a3e18771","email":"333222@qq.com","domain":"qq.com","status":"SUCCESS","result":"100","createdTime":"2019-10-17 18:58:53","updatedTime":"2019-10-17 18:59:00"}],"msg":"ok","code":200,"pagination":{"page":1,"limit":10,"totalItem":2,"totalPage":1}}* Closing connection 0