Create a referral opportunity
Creates a referral opportunity as a REFERRAL pipeline deal (PipelineDealObject) with
PipelineDealFacilitator rows (connector and auto-added referral sources where applicable).
The durable public identifier for the hub deal is pipelineDealId (same as id in responses).
The connector defaults to the authenticated user unless connectorId is provided.
- Type: stringFormat: uuidprovider
Id requiredPerson ID of the provider (the solution provider)
- Type: stringFormat: uuidseeker
Id requiredPerson ID of the seeker (the one looking for a solution)
- Type: stringFormat: uuidconnector
Id Person ID of the connector. Defaults to the authenticated user if omitted.
- Type: stringcurrencymin length:3max length:3
- Type: stringdescriptionmax length:1000
Note or justification for the referral
- Type: numberexpected
Value min:0Expected deal value
- Type: stringnamemax length:200
Deal name. Auto-generated as seeker company → provider company (employer names) if omitted; falls back to person names when company is unavailable.
- Type: stringFormat: uuidproduct
Id Product associated with the referral
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://beta-api.introzy.com/api/referral-opps \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"seekerId": "",
"providerId": "",
"connectorId": "",
"name": "Acme Inc → Beta Solutions LLC",
"description": "",
"expectedValue": 50000,
"currency": "USD",
"productId": ""
}'
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"pipelineDealId": "123e4567-e89b-12d3-a456-426614174000",
"name": "Alice Seeker → Bob Provider",
"description": null,
"expectedValue": null,
"currency": "USD",
"stage": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"label": "Lead",
"color": "#3B82F6",
"description": "string",
"sortOrder": 1
},
"owner": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"seeker": {
"type": "USER",
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": null,
"lastName": null,
"email": null,
"name": null,
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "string"
}
},
"provider": {
"type": "USER",
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": null,
"lastName": null,
"email": null,
"name": null,
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "string"
}
},
"connector": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": null,
"lastName": null,
"email": null,
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "string"
}
},
"facilitators": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"userId": null,
"companyId": null,
"role": "connector",
"side": "seeker",
"user": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"company": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "string"
}
}
],
"createdAt": "2026-05-20T14:22:03.090Z",
"updatedAt": "2026-05-20T14:22:03.090Z"
},
"message": "Referral opportunity created successfully"
}