Get task details

GET /extension/task

Requires Bearer token authentication.

Endpoint#

GET https://api.multipost.app/extension/task

Query parameters#

FieldTypeRequiredDescription
taskIdstring任务ID

Request example#

curl -X GET 'https://api.multipost.app/extension/task' \
  -H "Authorization: Bearer YOUR_API_KEY"

Response#

200 — 成功获取任务详情

{
  "success": false,
  "data": {
    "id": "string",
    "taskType": "PUBLISH_POST",
    "status": "PENDING",
    "targetClientId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
}

401 — 未授权

{
  "success": false,
  "error": "string"
}