Sales Pointer - Dynamic Filters

This API returns the necessary data for the Sales Pointer filter types. The response includes the id and text fields (or displayValue if text is not available), along with other relevant details.

cURL 'https://api.enrich.so/v1/api/sales-pointer/filters?query=software engineer&page=1&filter_type=CURRENT_TITLE' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'

Filter types are :

  • CURRENT_TITLE

  • PAST_TITLE

  • REGION

  • COMPANY_HEADQUATERS

  • INDUSTRY

  • SCHOOL

  • POSTAL_CODE

  • FUNCTION

  • CURRENT_COMPANY

  • PAST_COMPANY

Example ussage

"filters": [
  {
    "type": "CURRENT_TITLE",
    "values": [
      {
        "id": "9", (response.data[0].id)
        "text": "Software Engineer", (response.data[0].text)
        "selectionType": "INCLUDED" | "EXCLUDED"
      }
    ],
    "selectedSubFilter": <Number | null>
  }
]

Example response

Status Code: 200 OK

{
    "success": true,
    "message": "Filters found.",
    "data": [
        {
            "displayValue": "Software Engineer",
            "id": "9",
            "headline": "Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 0,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 9,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Software Engineer"
            }
        },
        {
            "displayValue": "Senior Software Engineer",
            "id": "39",
            "headline": "Senior Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 7,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 16,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Senior Software Engineer"
            }
        },
        {
            "displayValue": "Java Software Engineer",
            "id": "10738",
            "headline": "Java Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 5,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 14,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Java Software Engineer"
            }
        },
        {
            "displayValue": "Lead Software Engineer",
            "id": "1176",
            "headline": "Lead Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 5,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 14,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Lead Software Engineer"
            }
        },
        {
            "displayValue": "Associate Software Engineer",
            "id": "1845",
            "headline": "Associate Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 10,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 19,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Associate Software Engineer"
            }
        },
        {
            "displayValue": "Software Test Engineer",
            "id": "661",
            "headline": "Software Test Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 0,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 14,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Software Test Engineer"
            }
        },
        {
            "displayValue": "Junior Software Engineer",
            "id": "3549",
            "headline": "Junior Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 7,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 16,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Junior Software Engineer"
            }
        },
        {
            "displayValue": "Principal Software Engineer",
            "id": "556",
            "headline": "Principal Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 10,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 19,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Principal Software Engineer"
            }
        },
        {
            "displayValue": "Senior Java Software Engineer",
            "id": "23347",
            "headline": "Senior Java Software Engineer",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 12,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 21,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Senior Java Software Engineer"
            }
        },
        {
            "displayValue": "Software Engineering Manager",
            "id": "1685",
            "headline": "Software Engineering Manager",
            "headlineV2": {
                "attributes": [
                    {
                        "start": 0,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    },
                    {
                        "start": 9,
                        "length": 8,
                        "type": {
                            "com.linkedin.pemberly.text.Bold": {}
                        },
                        "attributeKindUnion": {
                            "bold": {}
                        }
                    }
                ],
                "text": "Software Engineering Manager"
            }
        }
    ]
}

Status code: 404 NOT FOUND

{
    "error": true,
    "message": "No Filters found for the given query"
}

Last updated