The Business Identities Autocomplete API returns real-time, structured autocomplete suggestions based on partial business names. Use it to help users quickly find and select their business during onboarding.
POST /v1/identities/autocomplete endpoint using a Publishable API key.id, along with names, addresses, people, and entity type.id from the selected result to the Smart populate endpoint (as autocomplete_result_id). Using the id ensures consistent business resolution between Autocomplete and Smart populate. You can also create a Business enrichment Order request to retrieve additional business attributes.To ensure the integrity and appropriate use of this API:
Authorization: Bearer header.Publishable API keys are available in the Middesk Dashboard:
Include the Publishable API key in the Authorization header using Bearer authorization:
Send a POST request to the autocomplete endpoint with the business name and optional address or entity type:
A successful request returns a 200 OK with a list of business identity suggestions in the response body.
Once a user selects a business from the autocomplete results, pass the id from the selected result to retrieve additional business attributes:
id as autocomplete_result_id to ensure consistent business resolutionPerformance is monitored, and alerts trigger if p95 latency exceeds 300ms over sustained periods.
Method: POST
URL: https://api.middesk.com/v1/identities/autocomplete
Headers: Include the API key in the Authorization header using Bearer authorization