/
API
v2.0
v2.1
latest
v2.0
supported until 05/2027
Partner with us
Try Foxentry
Intro
Low Code & No Code
API Reference
Recipes
FAQ
Support
SDKs
?
+100
Intro
Low Code & No Code
API Reference
Recipes
FAQ
Support
SDKs
Try Foxentry
Partner with us
API version
v2.1
v2.0
You are reading the docs for
API v2.0
, an older version.
Go to v2.1
All recipes
Company
POST /company/search
Company autocomplete
Stage
1
/8
01
Authenticate
Firstly you need to properly authenticate. If you do not have your API key. Please sign up at app.foxentry.com/registration
02
Choose the API version
You can choose the API if you need to. If you remove this part, the latest version would be used by default.
03
Specify the type of the search
Specify the type of search you would like to use. Name of the company is used in this example.
04
Specify the searched value
Searched value. It is expected to send a new request with updated value every time the user on your front end makes a change in the input. In the example we would like to return all the companies names that start with "ava" and simultaneously, based on the filter object, are located in the Czech republic and their IDs start with "04"
05
Use filter criteria if you need so
You can set up filter criteria in order to specify the search results. In this example, we would like to search only in companies that are located in the Czech republic and their ID starts with "04".
06
Use filter mode
You can set "limit" or "prefer". Limit means the results will be limited to the filter criteria. Prefer means the results that meet the criteria will be prefered (higher up).
07
Check the filterExactMatch
if true the values in filter will behave as exact match.
08
Optional data about the user
You can include information about your user (his location) in order to make the results order more relevant for him.
‹ Back
Next step ›
Try it live ›
Request
Response
Copy
Copied