HTTP 200 响应
{
"items": [
{
"index": 0,
"status": "success",
"type": "bindable",
"phone": "+1234567890",
"url": "https://sms.example.com/access/...",
"line": "line-name",
"expireTime": "2026-07-09T12:34:56.789Z",
"bindingVersion": 1
},
{
"index": 1,
"status": "success",
"type": "onetime",
"sessionId": "uuid",
"phone": "+0987654321",
"recordUrl": "https://sms.example.com/record/...",
"recordLine": "line-name",
"attempt": 1,
"maxAttempts": 6,
"switchCount": 0,
"maxSwitches": 5,
"remainingSwitches": 5
},
{
"index": 2,
"status": "error",
"error": "invalid cdk"
}
]
}
一次性成功项的 recordUrl 和 recordLine 仅对应其当前 attempt;后续换号只能调用 /api/v1/code/[sessionId]/switch。长期成功项使用 bindingVersion,后续换号仍调用 /api/cdk/redeem/switch。