Developer
Outgoing webhooks
POST
https://your-endpoint.example.com (the outbound URL you configure)
Signed webhook
Referral events
When a referral is sent to you, or its status changes, we POST this JSON to the outbound URL configured on your partner record. Respond with any 2xx to acknowledge receipt; a non-2xx is retried (3 attempts, backoff 10s / 60s / 300s). If a custom payload mapping is configured for you, the body is reshaped into your own schema before sending — the shape below is the default (canonical) envelope. To post updates back to us, see the Referrals “Update a referral status” endpoint.
Body parameters
|
version
integer
required
|
Payload schema version. Currently 1. |
|
event
string
required
|
The event that fired. one of: referral.sent, referral.status_changed, referral.resent |
|
reference
string
required
|
The referral’s stable id (UUID). Quote it back when posting status updates to us. |
|
link_id
string
optional
|
Shared group id when this referral is one of a linked set (e.g. a sale + a purchase for one client). Identical across the group; omitted entirely on a standalone referral. |
|
status
string
required
|
Current status. one of: draft, submitted, under_review, accepted, in_progress, completed, declined, withdrawn |
|
occurred_at
string
required
|
When the event happened (ISO-8601). |
|
source
object
required
|
The sending agency: { agency_id, agency_name }. Use this to tell sources apart if you receive from several agencies on one endpoint. |
|
partner
object
required
|
You, the recipient: { id, name }. |
|
raised_by
object
optional
|
The person at the sending agency who raised it: { name, email }. Null if unknown. |
|
service_area
string
required
|
The sender’s service area slug (e.g. "conveyancing"). |
|
urgency
string
optional
|
Sender-set urgency. one of: low, normal, high, urgent |
|
estimated_value
string
optional
|
Estimated value as a decimal string. |
|
currency
string
optional
|
ISO currency code. |
|
referred
object
required
|
The referred client: { first_name, last_name, email, phone, company_name }. |
|
description
string
optional
|
Free-text note from the sender. |
|
fields
object
optional
|
Structured domain fields the agency captured for this service area, keyed by field slug (e.g. { "tenure": "freehold" }). Unknown fields are absent — never a placeholder. What appears here is entirely tenant-defined. |
Responses
200
// Any 2xx acknowledges receipt — the body is ignored. // A non-2xx (or a timeou...
{
"version": 1,
"event": "referral.sent",
"reference": "550e8400-e29b-41d4-a716-446655440000",
"link_id": "7f3c9a20-... (present only when part of a linked group)",
"status": "submitted",
"occurred_at": "2026-07-22T10:15:30+01:00",
"source": { "agency_id": 134, "agency_name": "Minors & Brady" },
"partner": { "id": 14, "name": "MJP Conveyancing" },
"raised_by": { "name": "Ryan Martin", "email": "ryan@example.com" },
"service_area": "conveyancing",
"urgency": "normal",
"estimated_value": "275000.00",
"currency": "GBP",
"referred": {
"first_name": "Jane", "last_name": "Doe",
"email": "jane@example.com", "phone": "07700 900123", "company_name": null
},
"description": "Free-text note from the sender.",
"fields": { "tenure": "freehold", "mortgage_required": true }
}
# We sign the RAW request body with HMAC-SHA256 using the signing secret you set,
# and send it as the X-Signature header (only when a secret is configured):
#
# X-Signature: sha256=<hex>
#
# Verify it against the exact bytes you received (constant-time compare):
BODY="$(cat raw-request-body.json)"
EXPECTED="sha256=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$YOUR_SIGNING_SECRET" | awk '{print $2}')"
# compare $EXPECTED to the request's X-Signature header
response
// Any 2xx acknowledges receipt — the body is ignored.
// A non-2xx (or a timeout > 20s) is retried up to 3 times (10s / 60s / 300s backoff).
Landing Platform