Authentication
curl -X GET "https://app.journeybee.io/api/v1/companies/{companyId}/lead-deals/{dealId}" \
-H "Authorization: Bearer your-api-key-uuid" \
-H "Content-Type: application/json"
Path Parameters
The unique identifier of the company
The unique identifier of the deal
Response Schema
Detailed deal object with full relationship dataShow Complete Deal Details
Vendor stage ID (reseller deals)
Array of custom field values
Partnership relationship data
Example Response
{
"id": 456,
"uuid": "deal-uuid-456",
"label": "TechCorp Enterprise Deal",
"deal_value": 250000,
"commission_amount": 25000,
"commission_percentage": 10,
"stage_id": 3,
"payment_stage_id": 2,
"custom_fields": [
{
"id": 8,
"label": "Deal Priority",
"type": "select",
"value": { "select": 1 }
}
],
"tags": [
{
"id": 15,
"label": "Enterprise",
"background_color": "#8B5CF6"
}
]
}
Notes
- Requires API key with
read_access
permission
- Returns comprehensive deal details including partnerships and commissions