---
title: "Get task by ID"
method: GET
path: "/api/tasks/{id}"
tags: ["Tasks"]
---

# Get task by ID

`GET /api/tasks/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/tasks/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/tasks/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a specific task with its details

## Path parameters

- `id` integer, required

## Response `200`

The task with the given id.

- TaskShowStoreUpdateResource
  - `id` integer
  - `session_id` integer, nullable
  - `type` string
  - `entity_id` integer
  - `entity_ulid` string
  - `entity_type` string
  - `invalid_data` string
  - `reason` string
  - `assigned_to` integer
  - `created_at` string, date-time
  - `due_date` string, date-time
  - `entity_logo` string
  - `league_id` integer
  - `league_name` string

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
