Skip to main content
POST
/
search-autocomplete
/
persons
Autocomplete persons
curl --request POST \
  --url https://lens-api.tic.io/search-autocomplete/persons \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "q": "<string>",
  "page": 1073741824,
  "per_page": 123
}
'
{
  "found": 123,
  "page": 123,
  "outOf": 123,
  "searchTimeMs": 123,
  "hits": [
    {
      "personId": 123,
      "personalIdentityNumber": "<string>",
      "givenName": "<string>",
      "firstName": "<string>",
      "middleName": "<string>",
      "lastName": "<string>",
      "folkbokforingsadressCareOf": "<string>",
      "folkbokforingsadressStreetAddress1": "<string>",
      "folkbokforingsadressStreetAddress2": "<string>",
      "folkbokforingsadressPostalCode": "<string>",
      "folkbokforingsadressCity": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tic.io/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint has stricter throttling, currentley maximum 120 requests per minute. Also it requires minimum 8 characters to be entered.

Authorizations

x-api-key
string
header
required

Body

q
null | string
page
integer<int32>
Required range: 1 <= x <= 2147483647
per_page
null | integer<int32>

Response

Slim autocomplete response

found
integer<int32>
page
integer<int32>
outOf
integer<int32>
searchTimeMs
integer<int32>
hits
null | object[]