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.

401 Unauthorized

json
{
  "message": "Unauthenticated."
}

Response ​

200 OK

A plain data array without pagination. offers is always null here — use Show Testimony to load the offers of a testimony.

json
{
  "data": [
    {
      "id": "01J5X3Y8ZK2Q4R6T8V0W2X4Y6Z",
      "state": "pending",
      "purpose": "mortgage",
      "client": {
        "firstName": "Pavol",
        "lastName": "Paška",
        "regions": null
      },
      "expert": 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,
      "createdAt": "2024-12-21T10:41:59+00:00"
    }
  ]
}