Skip to main content

Endpoint

POST https://api.ugc.inc/accounts/status

Overview

Retrieve the status and pending tasks for one or more accounts. Use this endpoint to check what tasks are scheduled, pending, or completed for your accounts.

Request Body

accountIds
string[]
Array of account IDs to check status for. Omit to get all accounts.
includeCompleted
boolean
default:false
Include completed tasks in the response

Response

data
AccountTask[]
Array of account task objects
curl -X POST https://api.ugc.inc/accounts/status \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountIds": ["acc_123456", "acc_789012"],
    "includeCompleted": false
  }'
{
  "ok": true,
  "code": 200,
  "message": "Success",
  "data": [
    {
      "id": "task_abc123",
      "account_id": "acc_123456",
      "type": "edit_profile",
      "status": "scheduled",
      "scheduled_time": "2024-12-31T12:00:00Z",
      "edit_profile_info": {
        "nickName": "New Display Name",
        "bio": "Updated bio text"
      },
      "created_at": "2024-12-25T10:00:00Z"
    },
    {
      "id": "task_def456",
      "account_id": "acc_789012",
      "type": "warmup_scroll",
      "status": "pending",
      "scheduled_time": "2024-12-26T15:00:00Z",
      "edit_profile_info": null,
      "created_at": "2024-12-25T11:00:00Z"
    }
  ]
}