# List intent signals

> The intent signals a lead search can watch, and their settings

`GET https://api.signalvan.com/v1/intent-signals`

**Step 3 of 9 in the lead generation flow: Learn the context.**

Needs `leads:read` · Uses no credits · 300 a minute · Web page: https://www.signalvan.com/developers/reference/list-intent-signals

Every intent signal SignalVan can watch: something people do that shows they may buy (they
ask for help, react to your competitors, post about your topics, hire for a role, complain in reviews). For each: who
it finds, when it works best, how it works, and its `settings`, each marked `required` or not, with its type, limits
and an example. Pass the keys in `intent_signals` and the settings in `settings` when you plan a lead search
(`POST /searches/plan`). `shared_settings` work with every signal. The Business directory is a lead search of its own
(`kind: directory`) with its own settings.

Built from the code that runs the lead searches, so a new intent signal or setting appears here the day it ships.

**Credits:** none.

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `website_id` | `string` | No | The website to act on (GET /websites). Left out: the key's default website, else its only one; a key that opens several websites and has no default must send it Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | `string` | Yes | Bearer and your API key. Keys are made in SignalVan: Account, API keys. Example: `Bearer sv_live_...`. |
| `X-Website-Id` | `string` | No | The same as website_id, as a header (the query parameter wins when both are sent) Example: `6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14`. |

## Response · 200 (application/json)

- `intent_signals` (IntentSignal[], required): Every intent signal, in the order the app lists them
  - `key` (string, required): Its key: pass it in `intent_signals` when you plan a lead search
  - `label` (string, required): Its name in the app
  - `description` (string, required): Who it finds, in plain words
  - `best_when` (string, required): When it works best
  - `how` (string[], required): How it works, step by step
  - `available` (boolean, required): False when it is not switched on yet for this server (planning it answers 503)
  - `settings` (SignalSetting[], required): The settings it uses; required ones must not be empty
- `shared_settings` (SignalSetting[], required): Settings every intent signal can take
  - `key` (string, required): Its key in `settings` when you plan a lead search
  - `label` (string, required): Its name in the app
  - `type` (string, required): string, string[], integer or object
  - `required` (boolean, required): True: the lead search cannot run with it empty
  - `description` (string, required): What it is, in plain words, with its limits
  - `min` (integer | null): The smallest value (numbers)
  - `max` (integer | null): The most items (lists), characters (text) or the largest value (numbers)
  - `values` (string[] | null): The only values it takes, when it has a fixed list
  - `example`: An example value
  - `filled_from` (string | null): Left out, SignalVan fills it from this (for example the competitors saved for your website)
- `business_directory` (BusinessDirectory, required): The Business directory (plan it with kind: directory)
  - `key` (string, required): Always directory
  - `label` (string, required): Its name in the app
  - `description` (string, required): Who it finds, in plain words
  - `settings` (SignalSetting[], required): Its settings (plan it with kind: directory)

## Responses

- `200`: Every intent signal with its settings, the shared settings and the Business directory
- `400` `invalid`: A field is not valid (the detail names it)
- `401` `unauthorized`: No API key, or the key is not valid
- `403` `scope_missing`: The key lacks the permission (scope_missing)
- `404` `not_found`: Not found, or not yours
- `429` `rate_limited`: Too many requests: wait Retry-After seconds
- `503` `unavailable`: Temporarily unavailable: retry with backoff

## Request

Every request below is complete and runs as copied (set SIGNALVAN_API_KEY first). website_id is needed when your key opens several websites; it takes the website's id or its domain.

### Request

cURL:

```bash
curl "https://api.signalvan.com/v1/intent-signals?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14" \
  -H "Authorization: Bearer $SIGNALVAN_API_KEY"
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.signalvan.com/v1/intent-signals?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14",
    headers={"Authorization": f"Bearer {os.environ['SIGNALVAN_API_KEY']}"},
    timeout=70,
)
r.raise_for_status()
print(r.json())
```

Node.js:

```javascript
const r = await fetch("https://api.signalvan.com/v1/intent-signals?website_id=6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14", {
  headers: {
    Authorization: `Bearer ${process.env.SIGNALVAN_API_KEY}`,
  },
})
if (!r.ok) throw new Error((await r.json()).detail)
console.log(await r.json())
```

## Response example · 200

```json
{
  "intent_signals": [
    {
      "key": "topic_engagers",
      "label": "Industry topic posts",
      "description": "People who post, comment on or like LinkedIn posts about your industry topics",
      "best_when": "People discuss your topics in public",
      "how": [
        "You pick the topics (we suggest them)",
        "We read recent LinkedIn posts on those topics",
        "We take the authors, commenters and likers"
      ],
      "available": true,
      "settings": [
        {
          "key": "keywords",
          "label": "Topics",
          "type": "string[]",
          "required": true,
          "description": "The topics or phrases the people you want talk about. Up to 6, 80 characters each.",
          "max": 6,
          "example": [
            "dental lab turnaround",
            "digital dentistry"
          ]
        }
      ]
    },
    {
      "key": "help_requests",
      "label": "People asking for help",
      "description": "People who asked on LinkedIn for a partner, vendor or tool like yours",
      "best_when": "People ask in public for what you offer; the strongest sign there is",
      "how": [
        "We write the requests people post when they need what you offer",
        "We read recent LinkedIn posts and keep only real requests for it",
        "We take the people who asked"
      ],
      "available": true,
      "settings": [
        {
          "key": "keywords",
          "label": "Topics",
          "type": "string[]",
          "required": false,
          "description": "The topics or phrases the people you want talk about. Up to 6, 80 characters each.",
          "max": 6,
          "example": [
            "dental lab turnaround",
            "digital dentistry"
          ]
        }
      ]
    }
  ],
  "shared_settings": [
    {
      "key": "buyer_roles",
      "label": "Who to reach",
      "type": "string[]",
      "required": false,
      "description": "The roles of the people to reach at each company. Up to 8.",
      "max": 8,
      "example": [
        "Practice owner",
        "Principal dentist"
      ]
    },
    {
      "key": "locations",
      "label": "Places",
      "type": "string[]",
      "required": false,
      "description": "Towns, cities or regions to keep to. Up to 5.",
      "max": 5,
      "example": [
        "Leeds",
        "York"
      ]
    },
    {
      "key": "country",
      "label": "Country",
      "type": "string",
      "required": false,
      "description": "A two-letter country code. Left out: your website's market.",
      "max": 2,
      "example": "gb"
    }
  ],
  "business_directory": {
    "key": "directory",
    "label": "Business directory",
    "description": "Local and online businesses that match your ideal customer, by region and segment",
    "settings": [
      {
        "key": "segments",
        "label": "Kinds of business",
        "type": "string[]",
        "required": true,
        "description": "The kinds of business to find. Left out: drafted from your case.",
        "example": [
          "Dental practices",
          "Orthodontists"
        ]
      }
    ]
  }
}
```
