# Match a scan hit against the template library (/docs/api-reference/device-types/DeviceTypesController_match)

`POST /api/device-types/match`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

Phase 0: simple scoring heuristic. Returns best-fit template + confidence + top alternatives.

## Responses

### 200: Match result