Skip to main content
POST
https://credzu.com/wp-json/credzu/v1
/
get-lead
curl -X POST https://credzu.com/wp-json/credzu/v1/get-lead \
  -H "Content-Type: application/json" \
  -H "Authorization: Credzu-Key YOUR_API_KEY" \
  -d '{
    "lead_id": 44921
  }'
{
  "success": true,
  "data": {
    "id": 44921,
    "partner_id": 1,
    "partner_lead_id": "FBHL-55672",
    "first_name": "John",
    "last_name": "Smith",
    "email": "[email protected]",
    "phone": "555-333-2222",
    "fico_range": "580-619",
    "loan_officer_id": "A.GLADSTONE",
    "status": "contract_signed",
    "created_at": "2025-01-15 10:30:00",
    "updated_at": "2025-01-18 14:22:00"
  }
}

Overview

Allows partners to fetch the current state of a specific lead by its Credzu lead ID.

Request Body

lead_id
integer
required
The Credzu lead ID returned when the lead was created

Response

success
boolean
true if the lead was found
data
object
Lead details object
curl -X POST https://credzu.com/wp-json/credzu/v1/get-lead \
  -H "Content-Type: application/json" \
  -H "Authorization: Credzu-Key YOUR_API_KEY" \
  -d '{
    "lead_id": 44921
  }'
{
  "success": true,
  "data": {
    "id": 44921,
    "partner_id": 1,
    "partner_lead_id": "FBHL-55672",
    "first_name": "John",
    "last_name": "Smith",
    "email": "[email protected]",
    "phone": "555-333-2222",
    "fico_range": "580-619",
    "loan_officer_id": "A.GLADSTONE",
    "status": "contract_signed",
    "created_at": "2025-01-15 10:30:00",
    "updated_at": "2025-01-18 14:22:00"
  }
}
You can only retrieve leads that belong to your partner account. Attempting to access another partner’s leads will return a NOT_FOUND error.