---
title: "Smart Entry"
url: "https://developer-qual.migros.ch/apis/smart-entry-0/versions/2a1438de-fe5a-4ce1-b336-106ceb143785"
---

# Smart Entry

OpenAPI specification document.

```json
{"components":{"schemas":{"BarcodeAuthRequest":{"properties":{"barcode":{"description":"13-digit Cumulus barcode beginning with 2098 or 2099","example":"2098123456789","type":"string"},"doorId":{"description":"Configured door identifier","example":"1","minLength":1,"type":"string"},"storeId":{"description":"Store identifier","example":"A16BCZ","minLength":1,"type":"string"},"trackingId":{"description":"Request identifier forwarded unchanged to the door controller","example":"04a2bebf-42c7-46b3-afb3-7ec0a4866703","format":"uuid","type":"string"}},"required":["storeId","doorId","trackingId","barcode"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"in":"header","name":"X-Api-Key","type":"apiKey"}}},"info":{"contact":{"email":"arg_mgb-udp-business-services@mgb.ch","name":"MGB-UDP-Business-Services"},"description":"The Smart Entry project is used to control (allow/disallow) access for potential customers.\nIt receives access requests, meaning someone it at the main entrance at a physical store.\nBased on TBD business logic we can determine whether the access will be granted or not.\nAs this project also has access to the door control for the respective stores it can then\nalso open the main door or display a suitable disallow message.\n","title":"Smart Entry","version":"0.10.0"},"openapi":"3.0.1","paths":{"/migros/customer/smart-entry/v1/auth/barcode":{"post":{"description":"Validates the barcode format and requests that the configured store door is opened.","operationId":"postBarcodeAuth","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BarcodeAuthRequest"}}},"required":true},"responses":{"200":{"description":"Door request accepted"},"400":{"description":"Malformed request or invalid field"},"401":{"description":"Unauthorized"},"404":{"description":"Store or door not found"},"502":{"description":"Door controller rejected or could not process the request"}},"summary":"Request store access with a Cumulus barcode","tags":["smart-entry"]}}},"security":[{"ApiKeyAuth":[]}],"servers":[{"description":"URL of upstream service","url":"https://api-qual.migros.ch"}],"x-company":"migros","x-headmatter":{"readable_by":"*"},"x-kong-route-defaults":{"strip_path":false},"x-leanix-id":"ac6ffeb9-6d21-45f2-a81f-821ce89566d8","x-link-get-access":"https://forms.office.com/e/zhzbEqAQ26","x-link-get-support":"mailto:9961fcb6.migros.onmicrosoft.com@ch.teams.ms"}
```
