GET
/
api
/
v1
/
companies
/
{companyId}
/
lead-deals
/
{dealId}
Get Individual Deal
curl --request GET \
  --url https://app.journeybee.io/api/v1/companies/{companyId}/lead-deals/{dealId} \
  --header 'Authorization: Bearer <token>'
{
  "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"
    }
  ]
}

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

companyId
number
required
The unique identifier of the company
dealId
number
required
The unique identifier of the deal

Response Schema

deal
object
Detailed deal object with full 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