> ## Documentation Index
> Fetch the complete documentation index at: https://docs.journeybee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Individual Deal

> Retrieve detailed information about a specific deal including commission data, custom fields, and partnership details

## Authentication

<CodeGroup>
  ```bash cURL theme={null}
  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"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://app.journeybee.io/api/v1/companies/{companyId}/lead-deals/{dealId}', {
    method: 'GET',
    headers: {
      'Authorization': 'Bearer your-api-key-uuid',
      'Content-Type': 'application/json'
    }
  });
  ```
</CodeGroup>

## Path Parameters

<ParamField path="companyId" type="number" required>
  The unique identifier of the company
</ParamField>

<ParamField path="dealId" type="number" required>
  The unique identifier of the deal
</ParamField>

## Response Schema

<ResponseField name="deal" type="object">
  Detailed deal object with full relationship data

  <Expandable title="Complete Deal Details">
    <ResponseField name="id" type="number">Deal ID</ResponseField>
    <ResponseField name="uuid" type="string">Deal UUID</ResponseField>
    <ResponseField name="label" type="string">Deal name</ResponseField>
    <ResponseField name="deal_value" type="number">Deal value</ResponseField>
    <ResponseField name="commission_amount" type="number">Commission amount</ResponseField>
    <ResponseField name="commission_percentage" type="number">Commission percentage</ResponseField>
    <ResponseField name="stage_id" type="number">Current stage ID</ResponseField>
    <ResponseField name="payment_stage_id" type="number">Payment stage ID</ResponseField>
    <ResponseField name="vendor_stage_id" type="number">Vendor stage ID (reseller deals)</ResponseField>
    <ResponseField name="custom_fields" type="array">Array of custom field values</ResponseField>
    <ResponseField name="tags" type="array">Array of assigned tags</ResponseField>
    <ResponseField name="partnership_details" type="object">Partnership relationship data</ResponseField>
  </Expandable>
</ResponseField>

## Example Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "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"
      }
    ]
  }
  ```
</ResponseExample>

## Notes

* Requires API key with `read_access` permission
* Returns comprehensive deal details including partnerships and commissions
