请求地址:
https://api.online-disposablemail.com
请求方式: POST
请求参数:
参数名 | 是否必选 | 类型 | 说明 |
---|---|---|---|
apiKey | 是 | string | 用户 Key |
project | 是 | number | 服务 ID |
mailType | 是 | number | 邮箱类型 |
示例:
{ "apiKey": "c299451f56d9403b993860ceebcca50a", "project": 2, "mailType": 1 }
响应参数:
{ "code": 200, "msg": "操作成功", "data": { "orderId": "1826901504387100673", "email": "1oLsQHNK@cAc4yqi4j.cT" } }
参数名 | 类型 | 说明 |
---|---|---|
orderId | string | 邮箱订单 ID |
string | 邮箱账号 |
code
为 200
表示获取邮箱成功,其他均为失败,示例:
{ ... "code": 41001, "msg": "参数无效,请检查" }
{ ... "code": 41002, "msg": "获取超时,请重试." }
code 码: