D黑奴背锅 文档中心
修仙 API每日任务
POST/business/xiuxian/daily_task/claim

领取指定每日任务的奖励。

注意事项

  • 任务未完成或已领取返回 code=1。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/business/xiuxian/daily_task/claim" \  -H "Content-Type: application/json" \  -d '{    "task_key": "string"  }'
{  "code": 0,  "message": "领取每日任务奖励成功",  "data": {    "profile": {      "player": {        "gold": 1100      }    },    "reward": {      "gold": 100,      "experience": 50    }  },  "time": 1779502528}