Skip to Content
HomeLink Hub
Legal Verification

List my pending partnership invites

GET
/api/v1/legal/partnership-invites

Access: Bearer token required. Roles: LAWYER.

For lawyers: the invites addressed to the caller that are still invite_pending, newest first. Accepted and rejected invites are not returned. inviterId is populated with the inviting agent, landlord or admin's profile (firstName, lastName, email, role, avatar, phone, bio, businessName, address); unset profile fields are absent.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Response Body

Pending invites

application/json
  1. response
status*integer
success*boolean
message*string
data*array<>
Example Request
curl -X GET 'http://localhost:4000/api/v1/legal/partnership-invites'
Example Response
{  "status": 200,  "success": true,  "message": "Lawyer invites fetched successfully",  "data": [    {      "_id": "6660a7d49b1d4a0012ab3510",      "inviterId": {        "_id": "665f1c2e9b1d4a0012ab34c1",        "firstName": "Chinedu",        "lastName": "Okafor",        "email": "chinedu.okafor@example.com",        "phone": "+2348031234567",        "avatar": "https://res.cloudinary.com/example/image/upload/v1717500000/homelinkhub/media/chinedu.jpg",        "role": "AGENT",        "businessName": "Okafor Realty",        "bio": "Lekki and Ikoyi lettings specialist.",        "address": {          "addresses": [            "14 Admiralty Way, Lekki Phase 1"          ],          "country": "Nigeria",          "state": "Lagos",          "postalCode": "105102"        }      },      "lawyerId": "665f1c2e9b1d4a0012ab34c3",      "email": "folake.adeyemi@example.com",      "status": "invite_pending",      "inviteNote": "We list 10-15 Lekki properties a month and need title verification.",      "invitedAt": "2026-06-04T09:15:22.481Z",      "createdAt": "2026-06-04T09:15:22.481Z",      "updatedAt": "2026-06-04T09:15:22.481Z",      "__v": 0    }  ]}