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 Tasks

Developing
GET
/tasks
Returns a list of tasks. The response is filtered based on the authenticated user’s role — some tasks may be hidden or restricted depending on access permissions.

Request

Query 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?filter=1&page=1&perPage=10&order=asc&orderBy=title&userId=01JP1ZM7DT3SQMY8661CXWQW85'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": "01JQBJRWGS8C6JWHQWZ7G32G8G",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 2,
            "status": 1,
            "datetime": "2025-03-04T23:15:00.000Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "adsasd",
            "content": "",
            "comments": "",
            "address": "",
            "categoryId": 2,
            "trophyId": null,
            "createdAt": "2025-03-27T10:36:09.113Z",
            "updatedAt": "2025-03-27T10:36:09.113Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "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": null
        },
        {
            "id": "01JQBHFMJ1HH4E1GS4BF2DM9DA",
            "revisionId": null,
            "userId": "01JP1ZWAFDD09X2JKMFF8H3HEB",
            "type": 1,
            "status": 2,
            "datetime": "2025-03-06T22:59:59.999Z",
            "completionDatetime": "2025-03-27T10:13:46.848Z",
            "reopenDatetime": null,
            "title": "asd",
            "content": "sd",
            "comments": "",
            "address": "",
            "categoryId": 7,
            "trophyId": null,
            "createdAt": "2025-03-27T10:13:37.473Z",
            "updatedAt": "2025-03-27T10:13:46.856Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JP1ZWAFDD09X2JKMFF8H3HEB",
                "firstName": "asidjasio",
                "lastName": "iohasiodhasoi",
                "chatId": "67cfdec300034a4c5ed0",
                "chatUsername": "67cfdec300034aea6c04"
            },
            "category": {
                "id": 7,
                "name": {
                    "de": "Bildung",
                    "en": "Studies"
                },
                "createdAt": "2024-01-21T22:07:44.639Z",
                "updatedAt": "2024-01-21T22:07:44.639Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJVQZABT52H1MV2BJR8T7H",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-03-05T22:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "ddads",
            "content": "",
            "comments": "",
            "address": "",
            "categoryId": 2,
            "trophyId": null,
            "createdAt": "2025-03-27T10:37:42.763Z",
            "updatedAt": "2025-03-27T10:37:42.763Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "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": null
        },
        {
            "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",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "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"
                }
            }
        },
        {
            "id": "01JQBJM939B8C2CMG7MMKFMTQY",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-06-19T21:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": "Task content",
            "comments": "Comments",
            "address": "",
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:33:38.153Z",
            "updatedAt": "2025-03-27T10:33:38.153Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJN25168F76M1MAKXZW7T9",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-06-19T21:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": "Task content",
            "comments": "Comments",
            "address": "",
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:34:03.809Z",
            "updatedAt": "2025-03-27T10:34:03.809Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJP4CRJ4JCRE1PYTWWG1NE",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-06-19T21:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": "Task content",
            "comments": null,
            "address": "",
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:34:38.872Z",
            "updatedAt": "2025-03-27T10:34:38.872Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJPAXC2G07ZN6T4D0E080A",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-06-19T21:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": "Task content",
            "comments": null,
            "address": null,
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:34:45.549Z",
            "updatedAt": "2025-03-27T10:34:45.549Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJQ4H91AZ8VNEWVD8F8AB5",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 2,
            "status": 1,
            "datetime": "2025-06-18T22:00:00.000Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": "Task content",
            "comments": null,
            "address": null,
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:35:11.786Z",
            "updatedAt": "2025-03-27T10:35:11.786Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJY71G263VBJ72XQP99YRB",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 3,
            "status": 1,
            "datetime": "2025-06-18T22:00:00.000Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "Ttile",
            "content": null,
            "comments": null,
            "address": null,
            "categoryId": 5,
            "trophyId": null,
            "createdAt": "2025-03-27T10:39:03.729Z",
            "updatedAt": "2025-03-27T10:39:03.729Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 5,
                "name": {
                    "de": "Finanzen",
                    "en": "Finance"
                },
                "createdAt": "2024-01-21T22:07:05.193Z",
                "updatedAt": "2024-01-21T22:07:05.193Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        },
        {
            "id": "01JQBJZG3M7ZT7DZ909TXKVW1W",
            "revisionId": null,
            "userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
            "type": 1,
            "status": 1,
            "datetime": "2025-03-05T22:59:59.999Z",
            "completionDatetime": null,
            "reopenDatetime": null,
            "title": "xzx",
            "content": "",
            "comments": "",
            "address": "",
            "categoryId": 3,
            "trophyId": null,
            "createdAt": "2025-03-27T10:39:45.781Z",
            "updatedAt": "2025-03-27T10:39:45.781Z",
            "creatorUserId": "01JMT38K3BMVJV68D4J1AHKR6Y",
            "user": {
                "id": "01JMYS0F68GJ1NRNMV32VG38Y8",
                "firstName": "Client",
                "lastName": "Client",
                "chatId": "67bdd7190031fba8a1d7",
                "chatUsername": "67bdd7190031f6f7091f"
            },
            "category": {
                "id": 3,
                "name": {
                    "de": "Administration",
                    "en": "Admin"
                },
                "createdAt": "2023-12-18T16:50:04.424Z",
                "updatedAt": "2023-12-18T16:50:04.424Z",
                "createdById": null,
                "updatedById": null
            },
            "creator": {
                "id": "01JMT38K3BMVJV68D4J1AHKR6Y",
                "firstName": "Hubert",
                "lastName": "Burdach",
                "chatId": "urzRGrsgFAHgTewBA",
                "chatUsername": "3ef7d215-8e73-4751-9cdc-9d79d8697b5c"
            },
            "trophy": null
        }
    ],
    "meta": {
        "total": 11,
        "lastPageNumber": 1,
        "currentPageNumber": 1,
        "isNextPage": false,
        "isPreviousPage": false,
        "tasks": {
            "open": 9,
            "closed": 1
        }
    }
}
Modified at 2025-06-25 19:27:06
Previous
Get Task
Next
Task Edit
Built with