Skip to main content
GET
/
v1
/
tasks
List tasks
curl --request GET \
  --url https://api.slant.app/v1/tasks \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "abc123xyz",
      "title": "Follow up with client",
      "all_day": true,
      "status": "todo",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "deadline_at": "2023-11-07T05:31:56Z",
      "priority": "low_priority",
      "completed_at": "2023-11-07T05:31:56Z",
      "assigned_to": {
        "id": "<string>",
        "name": "<string>",
        "email": "jsmith@example.com"
      },
      "assigned_team": {
        "id": "<string>",
        "name": "<string>"
      },
      "record": {
        "id": "<string>",
        "type": "household",
        "name": "<string>"
      }
    }
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 10,
    "total_count": 100,
    "per_page": 25
  }
}

Authorizations

Authorization
string
header
required

OAuth 2.0 Bearer Token from Clerk authentication

Query Parameters

page
integer

Page number

per_page
integer

Items per page (1-100, default: 25). Values over 100 will be clamped to 100.

Required range: 1 <= x <= 100
book_id
string

Filter by book ID

status
enum<string>

Filter by status

Available options:
todo,
done
priority
enum<string>

Filter by priority

Available options:
low_priority,
medium_priority,
high_priority,
urgent_priority
household_id
string

Filter by household ID

contact_id
string

Filter by contact ID

assigned_to_id
string

Filter by assigned user ID

Response

successful

data
object[]
required
pagination
object
required