Skip to main content
GET
/
api
/
v1
/
tasks
/
{id}
Exibir tarefa
curl --request GET \
  --url https://app.switchkanban.com.br/api/v1/tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "description": "<string>",
    "priority": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "status_id": 123,
    "sprint_id": 123,
    "position": 123,
    "created_by_id": 123,
    "total_time_seconds": 123,
    "slug": "<string>",
    "estimate": 123,
    "tags": [
      {
        "id": 123,
        "color": "<string>",
        "bgColor": "<string>",
        "label": "<string>"
      }
    ],
    "assignees": [
      {
        "id": "<string>",
        "name": "<string>",
        "job_title": "<string>",
        "email": "<string>",
        "cost_cents": "<string>",
        "capacity": "<string>",
        "removed_at": "<string>",
        "role": "<string>",
        "status": "<string>",
        "avatar_color_id": "<string>"
      }
    ],
    "project": {
      "id": 123,
      "name": "<string>",
      "color": "<string>",
      "client_name": "<string>",
      "has_kanban": true,
      "scope": "fixed",
      "cost_cents": 123,
      "start_period": "<string>",
      "end_period": "<string>",
      "number_of_hours_per_sprint": 123,
      "number_of_sprints": 123,
      "discarded_at": "<string>"
    },
    "project_module": {
      "id": 123,
      "name": "<string>",
      "project_id": 123,
      "progress": 123,
      "order": 123,
      "description": "<string>",
      "start": "<string>",
      "end": "<string>",
      "dependencies": [
        123
      ],
      "custom_class": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

API token no formato Bearer. Exemplo: Bearer YOUR_API_TOKEN

Path Parameters

id
string
required

ID do projeto

Response

successful

data
object
required