Get my current home
Current Home
Get my current home
Return the authenticated user’s current-home listing.
GET
Get my current home
Overview
Returns the authenticated user’scurrent_homes document — the listing they created during onboarding step 2 (and which step 3 attached photos and a description to). Returns 404 NOT_FOUND if the user has not yet reached step 2, or if the listing has been soft-deleted (deletedAt != null).
There is no public GET /current-home/{id} endpoint by design — listings are only visible through match context, which prevents scraping. This endpoint returns the caller’s own listing only.
Authentication
Bearer <accessToken> required. Scope: user.
Path parameters
None.Query parameters
None.Request body
None.Response — 200 OK
| Field | Type | Notes | Example |
|---|---|---|---|
home | object | See Home object. |
Home object
| Field | Type | Allowed values / Notes | Example |
|---|---|---|---|
id | string | 24-char ObjectId of the listing. | 66400a8f1c2b4d5e6f7a8c00 |
userId | string | 24-char ObjectId of the owner (the caller). | 66400a8f1c2b4d5e6f7a8b00 |
propertyType | enum | DETACHED, SEMI_DETACHED, TERRACED, FLAT, MAISONETTE, BUNGALOW | FLAT |
bedrooms | integer | 0..10 | 2 |
bathrooms | integer | 0..10 | 1 |
address | string | 1..500 chars. | Flat 4, 27 Camden High Street |
postcode | string | UK postcode, uppercased. | NW1 7JE |
location | object | GeoJSON-derived { lng, lat }. | { "lng": -0.1426, "lat": 51.5390 } |
rent | object | { amountMinor: integer, frequency: "WEEKLY" | "MONTHLY" } | { "amountMinor": 120000, "frequency": "MONTHLY" } |
rentMonthlyMinor | integer | Server-derived monthly pence (weekly → amountMinor * 52 / 12 rounded). Used by the matcher. | 120000 |
features | string[] | Subset of: GARDEN, PARKING, BALCONY, LIFT, GROUND_FLOOR, PETS_ALLOWED, WHEELCHAIR_ACCESS. | ["GARDEN", "LIFT"] |
photos | object[] | Embedded subdocuments. See Photo object. | |
description | string | 0..150 chars. Empty string before onboarding step-3-description has been submitted. | Bright 2-bed flat in Camden... |
status | enum | DRAFT, LIVE, HIDDEN, DELETED | DRAFT |
ownerOnboardingComplete | boolean | Denormalised from the user document. Updated by job (Phase 3+). | false |
ownerTenancyApproved | boolean | Denormalised from the user document. Updated by job (Phase 3+). | false |
ownerStatus | enum | ACTIVE, PAUSED, BANNED | ACTIVE |
deletedAt | string | null | ISO 8601 UTC or null. | null |
createdAt | string | ISO 8601 UTC with ms precision. | 2026-05-22T14:32:08.412Z |
updatedAt | string | ISO 8601 UTC with ms precision. | 2026-05-22T14:32:08.412Z |
Photo object
| Field | Type | Notes | Example |
|---|---|---|---|
id | string | 24-char ObjectId of the embedded photo. Use as photoId in the cover/delete endpoints. | 66400a8f1c2b4d5e6f7a8d01 |
url | string | Full-resolution CDN URL. | https://cdn.swappr.co.uk/listings/.../photo1.jpg |
thumbnailUrl | string | Thumbnail URL (Phase 7 will diverge from url once the worker runs; Phase 2 mirrors url). | https://cdn.swappr.co.uk/listings/.../photo1.jpg |
orderIndex | integer | 0..9. Lower = earlier. | 0 |
isCover | boolean | Exactly one photo has isCover: true while photos.length > 0. | true |
fileSizeBytes | integer | Bytes on disk. | 2500000 |
width | integer | Cropped width in px. Set from the client’s photoMeta at attach time; 0 for photos uploaded without it. | 1600 |
height | integer | Cropped height in px. Set from the client’s photoMeta at attach time; 0 for photos uploaded without it. | 1200 |
blurhash | string | BlurHash placeholder string the client computed after cropping; the app paints it before the full image loads. Empty for photos uploaded without photoMeta. | "L6PZfSi_.AyE_3t7t7R**0o#DgR4" |
createdAt | string | ISO 8601 UTC. | 2026-05-22T14:32:08.412Z |
Example response
Error responses
| Status | Code | Meaning |
|---|---|---|
| 401 | UNAUTHENTICATED | Missing, malformed, or expired access token. |
| 404 | NOT_FOUND | The user has no current_homes document yet (onboarding step 2 has not been completed), or the listing is soft-deleted. |
Example error — 404
Side effects
None — this is a pure read.See also
- Update my current home
- Add listing photos
- Publish listing
- Step 2 — current home — creates the listing.