Skip to content

List Ongoing Testimonies ​

Retrieves ongoing testimonies (pending, offered, accepted) for the authenticated user — the testimonies they created as a client, or the ones they are assigned to as an expert.

HTTP Request ​

GET /api/v1/me/testimonies/ongoing

Authentication ​

Requires authentication via Bearer token. Email verification is not required.

401 Unauthorized

json
{
  "message": "Unauthenticated."
}

Response ​

200 OK

A plain data array of Testimony Objects without pagination, oldest first. Each one carries hasUnseenChange: true while the testimony sits in a state the user has not seen — an expert's offer arrived, a client paid for the expert's offer — and false again after Show Testimony returned it. Use it to badge the list. offers is always null here — use Show Testimony to load the offers of a testimony. For an accepted testimony expert, acceptedOffer, invoices and acceptedAt are populated, and the other party's email and phone are unlocked (see Counterparty).

json
{
  "data": [
    {
      "id": "01J5X3Y8ZK2Q4R6T8V0W2X4Y6Z",
      "number": "2648213",
      "state": "pending",
      "hasUnseenChange": false,
      "purpose": "mortgage",
      "client": {
        "firstName": "Pavol",
        "lastName": "Paška",
        "regions": null,
        "email": null,
        "phone": null
      },
      "expert": null,
      "shippingAddress": null,
      "realEstate": {
        "type": "house",
        "region": "nr",
        "properties": {
          "parcelCount": 2,
          "storeyCount": 1,
          "otherBuildingCount": 0,
          "detachedGarageCount": 1
        },
        "address": {
          "line1": null,
          "line2": null,
          "city": null,
          "postalCode": null,
          "parcelNumber": "123",
          "cadastralArea": "456"
        },
        "addressCoords": {
          "lat": 48.30734852531308,
          "lng": 18.086583509280644
        },
        "userCoords": null
      },
      "notes": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
      "cancellationReason": null,
      "acceptedOffer": null,
      "offers": null,
      "invoices": null,
      "createdAt": "2024-12-21T10:41:59+00:00",
      "acceptedAt": null,
      "completedAt": null
    }
  ]
}