How to connect to the Legentic Data API
The Data API allows users to seamlessly integrate Legentic data into their processes, mirroring the Investigate module's behavior in the user interface. It enables users to conduct searches primarily using hard identifiers such as license plate numbers, VINs, and telephone numbers. The API returns any relevant documents associated with the provided identifier and sends the data in JSON format for easy integration into customers' systems.
Configuration and Start
The Data API needs to be enabled by Legentic; therefore, reach out to your customer success manager to enable the service.
When the service is enabled, you can configure the API from the Integrations section in the Legentic Platform.
Quick start
The Data API is documented under the Quick Start tab, where you land if you press configure. Here you will find an elaborate description of the API, combined with a URL and different endpoints.
You can also test the request and response from within the platform if you can authorize within the platform. Alternatively, you will also be able to download the YAML file.
Credentials
Under the credentials tab you can create your own API key. The API key will be active immediately and ready to use for API communication.
Usage
The usage can be found in the last tab. There is a slight delay in the total number, but it provides a good overview of the number of requests made to the API.
Search Queries
The search_term field works similarly to the search bar within the Legentic Investigate module. Meaning you can search in free text format or apply advanced operators to be more specific in what you search. One of the examples you can use is to search for a particular plate of license, e.g., plate:123ABC. Other examples can be found here: https://help.legentic.com/advanced-searches