Skip to main content
GET
/
v1
/
tasks
/
{id}
Get a task
curl --request GET \
  --url https://api.slant.app/v1/tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
  }
}

Authorizations

Authorization
string
header
required

OAuth 2.0 Bearer Token from Clerk authentication

Path Parameters

id
string
required

The task ID

Response

successful

id
string
required

The task ID

Example:

"abc123xyz"

title
string
required

Task title

Example:

"Follow up with client"

all_day
boolean
required

Whether this is an all-day task

status
enum<string>
required

Task status

Available options:
todo,
done
created_at
string<date-time>
required

When the task was created

updated_at
string<date-time>
required

When the task was last updated

description
string | null

Task description

deadline_at
string<date-time> | null

Deadline for the task

priority
enum<string> | null

Task priority

Available options:
low_priority,
medium_priority,
high_priority,
urgent_priority
completed_at
string<date-time> | null

When the task was completed

assigned_to
object
assigned_team
object
record
object

The associated record (household, contact, or business) this task is linked to