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

# Get referral link

> Retrieve a specific referral link

## Endpoint

```
GET https://api.partnero.com/v1/partner_referral_links/{id}
```

## Path Parameters

| Parameter | Type   | Required | Description |
| --------- | ------ | -------- | ----------- |
| `id`      | string | Yes      | Link ID     |

## Request

```bash cURL theme={null}
curl --location 'https://api.partnero.com/v1/partner_referral_links/ref_456' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": {
      "id": "ref_456",
      "key": "ref_456",
      "url": "https://partnero.com?aff=ref_456",
      "default": false,
      "is_additional": false,
      "direct_tracking": false,
      "direct_tracking_redirect": false,
      "direct_tracking_redirect_url": null
    },
    "status": 1
  }
  ```
</ResponseExample>

## Search Links

Search for links by key or partner:

```bash theme={null}
GET https://api.partnero.com/v1/partner_referral_links:search?key=ref_456
```

| Parameter       | Type   | Description   |
| --------------- | ------ | ------------- |
| `id`            | string | Link ID       |
| `key`           | string | Referral key  |
| `partner.id`    | string | Partner ID    |
| `partner.key`   | string | Partner key   |
| `partner.email` | string | Partner email |
