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
Array of account IDs to check status for. Omit to get all accounts.
Include completed tasks in the response
Response
Array of account task objects Show AccountTask properties
ID of the account this task belongs to
Task type (e.g., edit_profile, warmup_scroll)
Current task status (scheduled, pending, complete, failed)
ISO 8601 timestamp when task is scheduled to execute
Profile update information (only for edit_profile tasks) Show EditProfileInfo properties
ISO 8601 timestamp when task was created
cURL
Python
JavaScript
React
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"
}
]
}