Get one of my legal assignments
Access: Bearer token required. Roles: LAWYER. Also requires: Caller must be the lawyer on the assignment.
A single assignment for the lawyer it is assigned to. propertyId is populated with title, location, pricing, details, verification and the property's current media (compare with mediaSnapshot, the media frozen at assignment time); lawyerId with firstName, lastName, avatar; assignedBy with firstName, lastName; each document submission's submittedBy with firstName, lastName. decision holds only an empty checklist until a decision is submitted. Listers cannot use this endpoint; they read assignments through the property history endpoint.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
assignmentId*stringObjectId of the legal assignment.
The assignment
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/legal/assignments/string'{ "status": 200, "success": true, "message": "Assignment fetched successfully", "data": { "_id": "6660a7d49b1d4a0012ab3501", "propertyId": { "_id": "665f1c2e9b1d4a0012ab34cd", "title": "3-Bedroom Flat, Lekki Phase 1", "location": { "state": "Lagos", "lga": "Eti-Osa", "community": "Lekki Phase 1", "street": "14 Admiralty Way", "nearestLandmark": "Lekki Phase 1 Gate", "coordinates": { "type": "Point", "coordinates": [ 3.4723, 6.4474 ] } }, "details": { "bedrooms": 3, "bathrooms": 3, "squareFeet": 1650, "features": [ "Fitted kitchen" ] }, "pricing": { "rentPrice": 4500000, "salePrice": null, "currency": "NGN", "rentDurationYears": 1 }, "media": { "images": [ { "url": "https://res.cloudinary.com/example/image/upload/v1717500000/homelinkhub/media/living-room.jpg", "metadata": { "address": "14 Admiralty Way, Lekki Phase 1, Lagos", "coordinates": [ 3.4723, 6.4474 ], "tag": "Living room" }, "_id": "6660a7d49b1d4a0012ab3570" } ], "videos": [] }, "verification": { "isVerified": false } }, "lawyerId": { "_id": "665f1c2e9b1d4a0012ab34c3", "firstName": "Folake", "lastName": "Adeyemi", "avatar": "https://res.cloudinary.com/example/image/upload/v1717500000/homelinkhub/media/folake.jpg" }, "assignedBy": { "_id": "665f1c2e9b1d4a0012ab34c1", "firstName": "Chinedu", "lastName": "Okafor" }, "mediaSnapshot": { "images": [ { "url": "https://res.cloudinary.com/example/image/upload/v1717500000/homelinkhub/media/living-room.jpg", "metadata": { "address": "14 Admiralty Way, Lekki Phase 1, Lagos", "coordinates": [ 3.4723, 6.4474 ] }, "_id": "6660a7d49b1d4a0012ab3570" } ], "videos": [] }, "status": "in_review", "dueDate": "2026-06-12T17:00:00.000Z", "notes": "Please confirm the C of O and survey plan.", "decision": { "checklist": [] }, "documentSubmissions": [ { "_id": "6660a7d49b1d4a0012ab3505", "documents": [ { "url": "https://res.cloudinary.com/example/raw/upload/v1717600000/homelinkhub/media/certificate-of-occupancy.pdf", "name": "certificate-of-occupancy.pdf", "mimeType": "application/pdf", "size": 482113 } ], "note": "C of O attached as requested.", "submittedBy": { "_id": "665f1c2e9b1d4a0012ab34c1", "firstName": "Chinedu", "lastName": "Okafor" }, "submittedAt": "2026-06-05T14:02:10.107Z" } ], "createdAt": "2026-06-04T09:15:22.481Z", "updatedAt": "2026-06-05T14:02:10.107Z", "__v": 1 }}
HomeLink Hub