List Offerable Testimonies
Allows authenticated experts to fetch testimonies that are open for new offers: testimonies in the pending or offered state on which the expert holds no offer — none made yet, or the one made was withdrawn — and whose real estate either lies in one of the expert's regions or has no region. A testimony without a region (realEstate.region is null — not resolved yet, or not resolvable, see asynchronous geocoding) is listed to every expert.
HTTP Request
GET /api/v1/me/testimonies/offerable
| Query Parameter | Description |
|---|---|
cursor string, optional | The meta.next_cursor (or meta.prev_cursor) of a previous response. Omit for the first page. |
Response
200 OK
Returns Testimony Objects in pending or offered state, oldest first, 50 per page. The response uses the cursor-pagination envelope: while meta.next_cursor is not null, pass it as the cursor query parameter (or follow links.next) to fetch the next page (see Pagination). offers, acceptedOffer, expert and invoices are always null here, and the client's email and phone stay hidden.
{
"data": [
{
"id": "01J5X3Y8ZK2Q4R6T8V0W2X4Y6Z",
"number": "2648213",
"state": "pending",
"purpose": "mortgage",
"client": {
"firstName": "Peter",
"lastName": "Novák",
"regions": null,
"email": null,
"phone": null
},
"expert": null,
"shippingAddress": null,
"realEstate": {
"type": "house",
"region": "ba",
"properties": {
"parcelCount": 1,
"storeyCount": 2,
"otherBuildingCount": 0,
"detachedGarageCount": 1
},
"address": {
"line1": "Hlavná",
"line2": "123",
"city": "Bratislava",
"postalCode": "811 01",
"parcelNumber": null,
"cadastralArea": null
},
"addressCoords": {
"lat": 48.1486,
"lng": 17.1077
},
"userCoords": null
},
"notes": "Urgent mortgage valuation needed",
"cancellationReason": null,
"acceptedOffer": null,
"offers": null,
"invoices": null,
"createdAt": "2025-01-15T10:30:00+00:00",
"acceptedAt": null,
"completedAt": null
}
],
"links": {
"first": null,
"last": null,
"prev": null,
"next": null
},
"meta": {
"path": "https://api.brunago.sk/api/v1/me/testimonies/offerable",
"per_page": 50,
"next_cursor": null,
"prev_cursor": null
}
}Authentication
Requires authentication via Bearer token. Only accessible to users with expert role whose account has not been rejected. Email verification and account approval are not required.
401 Unauthorized
{
"message": "Unauthenticated."
}Error Handling
Forbidden
403 Forbidden
{
"message": "This action is unauthorized."
}Returned when the authenticated user is not an expert, or is an expert whose account was rejected. (In production the message is the generic Forbidden.)