Pocketm8
  1. Tasks
Pocketm8
  • Auth
    • User
      • Sign In
      • Reset Password
      • Send SMS Code
      • Verify Code
      • Verify Token
      • Verify Challenge
  • Profile
    • Get Profile
      GET
    • Update Profile
      PATCH
    • Update Email
      PUT
    • Update Phone
      PUT
    • Resend Code
      POST
    • Update Avatar
      POST
    • Verify Code
      POST
  • Users
    • Get Users
      GET
  • Contacts
    • Get Contact
      GET
    • Get Contacts
      GET
  • Tasks
    • Create Task
      POST
    • Delete Task
      DELETE
    • Update Task
      PUT
    • Update Task Status
      POST
    • Get Task
      GET
    • Get Tasks
      GET
  • Relations
    • Task Edit
      GET
    • File Edit
      GET
  • Files
    • Get File
      GET
    • Get Files
      GET
    • Upload File
      POST
    • Delete File
      DELETE
    • Update File
      PATCH
  • Avatars
    • Upload Avatar file
  • Integrations
    • Matrix
      • Files
        • Link File
        • Unlink File
  1. Tasks

Get Task

Developing
GET
/tasks/{id}
Returns detailed information about a specific task by its ID

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://admin.letschat.ch/api/tasks/01JMYSH2KPYC78CVP40CSNCG2V'

Responses

🟢200Success
application/json
Body

Example
{
    "data": {
        "id": "01JMYSH2KPYC78CVP40CSNCG2V",
        "revisionId": null,
        "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
        "type": 1,
        "status": 1,
        "datetime": "2025-02-20T22:59:59.999Z",
        "completionDatetime": "2025-02-25T14:53:35.511Z",
        "reopenDatetime": "2025-02-25T14:53:36.778Z",
        "title": "Task 1",
        "content": "Task content",
        "comments": "",
        "address": "",
        "categoryId": 2,
        "trophyId": 3,
        "createdAt": "2025-02-25T14:52:41.974Z",
        "updatedAt": "2025-03-27T11:04:46.382Z",
        "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
        "category": {
            "id": 2,
            "name": {
                "de": "Arbeit",
                "en": "Work"
            },
            "createdAt": "2023-12-18T16:49:40.121Z",
            "updatedAt": "2023-12-18T16:49:40.121Z",
            "createdById": null,
            "updatedById": null
        },
        "creator": {
            "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "firstName": "Hubert",
            "lastName": "Burdach",
            "chatId": "urzRGrsgFAHgTewBA",
            "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
        },
        "trophy": {
            "id": 3,
            "name": "Du bist auf dem schnellsten Weg in Richtung Selbstständigkeit! Gratulation!",
            "achievementId": 5,
            "trigger": 1,
            "count": 8,
            "createdAt": "2024-01-02T11:00:07.430Z",
            "updatedAt": "2024-04-12T09:10:56.765Z",
            "createdById": null,
            "updatedById": null,
            "achievement": {
                "id": 5,
                "name": "Background 05",
                "value": "Background05",
                "type": "background",
                "url": "/avatar/Background05.png"
            }
        }
    }
}
Modified at 2025-03-27 11:36:29
Previous
Update Task Status
Next
Get Tasks
Built with