# One lead with every call made to it

> GET /campaigns/{id}/contacts/{contactId}. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/campaigns/get-campaigns-id-contacts-contactid-one-lead-with-every-call-made-to-it

GET https://server.heyrik.com/api/v1/campaigns/{id}/contacts/{contactId}

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.
- contactId (required): Replace {contactId} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Request example

```sh
curl https://server.heyrik.com/api/v1/campaigns/cmp_4a19/contacts/cct_9b1e \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```

## Response example

```json
{
  "data": {
    "contact": {
      "id": "cct_9b1e", "phone": "+919876543210", "status": "completed",
      "outcome": "completed", "attempts": 1, "category": "hot",
      "variables": { "name": "Ravi", "order_id": "AC-8842" },
      "extracted": { "callback_requested": "yes" }
    },
    "calls": [
      {
        "id": "call_8eab93e5", "direction": "outbound", "outcome": "completed",
        "duration_sec": 214, "summary": "Ravi confirmed the order and asked for a callback on Monday.",
        "recording_url": "https://example.com/rec.mp3",
        "transcript": [ { "role": "assistant", "content": "Hi Ravi, this is Priya from Acme." } ]
      }
    ]
  }
}
```
