Skip to main content
GET
/
v1
/
tasks
List Tasks
curl --request GET \
  --url http://api.stuut.ai/v1/tasks \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "label": "<string>",
      "object": "<string>",
      "organization_id": "<string>",
      "type": "activity_summary_outreach",
      "id": "<string>",
      "action_taken": "complete",
      "assignee": {
        "email": "<string>",
        "family_name": "<string>",
        "given_name": "<string>",
        "object": "<string>",
        "organization_id": "<string>",
        "id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "dashboard_settings": {
          "thread_emails_sort_order": "asc"
        },
        "default_email_sender_id": "<string>",
        "invited_by_user_id": "<string>",
        "is_access_approved": true,
        "is_org_admin": true,
        "modified_at": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "onboarding_required": true,
        "profile_picture": "<string>",
        "selected": true
      },
      "assignee_id": "<string>",
      "close_reason": "<string>",
      "completed_action": {},
      "created_at": "2023-11-07T05:31:56Z",
      "data": [
        {
          "object": "<string>",
          "source": "email",
          "task_id": "<string>",
          "type": "response",
          "id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "data": "<unknown>",
          "modified_at": "2023-11-07T05:31:56Z"
        }
      ],
      "description": "<string>",
      "error_reason": "<string>",
      "modified_at": "2023-11-07T05:31:56Z",
      "status": "open",
      "trigger_event": {
        "name": "<string>",
        "object": "<string>",
        "id": "<string>",
        "actor_id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "data": "<unknown>",
        "entity": "<unknown>",
        "entity_id": "<string>",
        "message": "<string>",
        "modified_at": "2023-11-07T05:31:56Z",
        "timestamp": "2023-11-07T05:31:56Z"
      },
      "trigger_event_id": "<string>"
    }
  ],
  "current_page": 0,
  "total_records": 0,
  "next_page": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:0

Page number, 0 indexed.

Required range: x >= 0
limit
integer
default:50

The page size

Required range: 1 <= x <= 200
sort_order
enum<string>
Available options:
asc,
desc
sort_by
enum<string>
Available options:
modified_at,
status,
type,
created_at
status
enum<string>[]
Available options:
open,
completed,
closed,
archived,
failed,
processing,
assigned_to_agent
type
enum<string>
Available options:
activity_summary_outreach,
activity_summary_payments,
auto_response_email,
auto_response_call,
call_analysis,
disable_contact,
recommendation_new_contact,
scheduled_email_approval,
scheduled_call_approval
classification
string[]
partner_id
string
assignee
string

The User identifier, (e.g. usr_abc123).

is_automated
boolean

Response

Successful response

data
object[]
current_page
integer
default:0

The current page.

total_records
integer
default:0

Total number of records.

next_page
integer | null

The next page, if one exists.