Creates a new referral to share client data with a connected firm. Run in API Explorer
Ask AI
The connection must be accepted before referrals can be sent.
Body
-
The UUID of an accepted referral connection.
-
Array of client account UUIDs to refer.
-
The type of advice being referred. Options: investments, protection, mortgages, estate_planning, other, pensions and tax
Value Description investments Investments protection Protection mortgages Mortgages estate_planning Estate Planning other Other pensions Pensions tax Tax Values are
investments,protection,mortgages,estate_planning,other,pensions, ortax. -
Duration in months for the referral. Options: 1, 2, 3, 6. Null for lifetime.
-
SLA deadline for the recipient to respond.
-
Additional notes about the referral.
POST
/api/v1/referrals
curl \
--request POST 'https://api.plannrcrm.com/api/v1/referrals' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"connection_uuid":"550e8400-e29b-41d4-a716-446655440000","client_uuids":["550e8400-e29b-41d4-a716-446655440001","550e8400-e29b-41d4-a716-446655440002"],"advice_type":"investments","duration_months":3,"shared_data":["basic_details","contact_details","notes"],"sla_deadline":"2026-02-28","note":"Client needs help with retirement planning."}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"connection_uuid": "550e8400-e29b-41d4-a716-446655440000",
"client_uuids": [
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
],
"advice_type": "investments",
"duration_months": 3,
"shared_data": [
"basic_details",
"contact_details",
"notes"
],
"sla_deadline": "2026-02-28",
"note": "Client needs help with retirement planning."
}
Response examples (200)
{
"note": "Client needs help with retirement planning.",
"uuid": "ac6ac96d-cd94-4e1c-9374-da46b5b7728d",
"status": "pending",
"clients": [
{
"name": "John Doe",
"uuid": "client-uuid-1"
}
],
"direction": "sent",
"connection": {
"uuid": "abc-123"
},
"created_at": "2026-01-20T17:51:29+00:00",
"expires_at": "2026-04-20T17:51:29+01:00",
"updated_at": "2026-01-20T17:51:29+00:00",
"advice_type": "investments",
"sender_firm": {
"name": "Sender Firm Name",
"uuid": "abc-123"
},
"shared_data": [
"basic_details",
"contact_details"
],
"sla_deadline": "2026-02-28",
"cloned_clients": [
{
"name": "John Doe",
"uuid": "cloned-uuid-1"
}
],
"recipient_firm": {
"name": "Recipient Firm Name",
"uuid": "def-456"
},
"sender_account": {
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "a4890f86-e45b-498c-b1d5-b0d88eb0c6f3",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account."
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"collection": false,
"description": "The photo URL of the client"
},
"created_at": {
"example": "2026-01-20T17:51:29+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2026-01-20T17:51:29+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
}
},
"duration_months": 3,
"rejection_reason": "Unable to take on new clients.",
"recipient_account": {
"name": {
"example": "Gareth Thompson",
"collection": false,
"description": "Name"
},
"role": {
"example": "client",
"collection": false,
"description": "Account role"
},
"type": {
"example": "client",
"collection": false,
"description": "Account type"
},
"uuid": {
"example": "66e3ec21-8ee5-4cb6-bebf-ef049bd76602",
"collection": false,
"description": "The UUID of the resource."
},
"email": {
"example": "gareth@codepotato.co.uk",
"collection": false,
"description": "(Deprecated - Please use the primary email of the account instead). The email of the account."
},
"last_name": {
"example": "Thompson",
"collection": false,
"description": "Last name"
},
"photo_url": {
"example": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"collection": false,
"description": "The photo URL of the client"
},
"created_at": {
"example": "2026-01-20T17:51:29+00:00",
"collection": false,
"description": "The timestamp of when the resource was created."
},
"first_name": {
"example": "Gareth",
"collection": false,
"description": "First name"
},
"updated_at": {
"example": "2026-01-20T17:51:29+00:00",
"collection": false,
"description": "The timestamp of when the resource was updated."
},
"external_references": {
"example": "App\\Http\\Resources\\ExternalReferenceResource",
"collection": true,
"description": "The external references that have been added to the client."
}
}
}