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

# Buscar negócio

> Retorna os dados completos de um negócio, incluindo tarefas vinculadas.

## Endpoint

```
GET /v1/deals/:id
```

**Escopo necessário:** `read:deals`

## Exemplo de requisição

```bash theme={null}
curl "https://api.socialsell.ai/v1/deals/664c1d2e3f4a5b6789012347" \
  -H "Authorization: Bearer sk_live_..."
```

## Exemplo de resposta

```json theme={null}
{
  "data": {
    "id": "664c1d2e3f4a5b6789012347",
    "title": "Proposta Enterprise ACME",
    "description": "Implantação do módulo de automações",
    "value": 18000,
    "status": "open",
    "pipeline": { "id": "664a1b2c3d4e5f6789012345", "name": "Funil Principal" },
    "stage": { "name": "Proposta enviada" },
    "assigned_to": { "id": "664a1b2c3d4e5f6789012345", "name": "Maria Santos" },
    "contacts": [
      {
        "id": "664f1a2b3c4d5e6f78901234",
        "name": "João Silva",
        "email": "joao@acme.com",
        "phone": "+5511999999999"
      }
    ],
    "company": { "id": "664b1c2d3e4f5a6789012346", "name": "ACME Corp" },
    "tags": ["enterprise"],
    "probability": 70,
    "expected_close_date": "2026-07-31T00:00:00.000Z",
    "closed_date": null,
    "custom_fields": {},
    "notes_count": 5,
    "tasks": [
      {
        "id": "664d2e3f4a5b6c7890123456",
        "title": "Ligar para confirmar reunião",
        "type": "call",
        "priority": "high",
        "status": "pending",
        "due_date": "2026-06-15T14:00:00.000Z"
      }
    ],
    "created_at": "2026-05-01T09:00:00.000Z",
    "updated_at": "2026-06-05T16:30:00.000Z"
  }
}
```

## Campos adicionais (GET por ID)

| Campo         | Tipo    | Descrição                                                                               |
| ------------- | ------- | --------------------------------------------------------------------------------------- |
| `notes_count` | integer | Quantidade de notas                                                                     |
| `tasks`       | array   | Tarefas vinculadas (até 20) com `id`, `title`, `type`, `priority`, `status`, `due_date` |
