Access control

Add Access Method

POST
/orgs/{organizationId}/access-methods

Adds one or more access methods. For QR_CODE, optional quantity creates multiple distinct QR methods with generated values; optional printThermalOnCreate queues a thermal ticket print per created QR.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
type?string
Default"LPR"
Value in"NFC""QR_CODE""LPR""PIN_CODE"
value?string
Lengthlength <= 255
Default""
customerId*string
Length1 <= length
status?string
Default"ACTIVE"
Value in"BLOCKED""INACTIVE""SOFT_BLOCKED""ACTIVE"
brand?string
color?string
model?string
periodFrom?string
Formatdate-time
periodTo?string
Formatdate-time
comments?string
doNotAutoExtend?boolean
Defaultfalse
autoConvertToLpr?boolean
Defaultfalse
quantity?integer
Range1 <= value <= 100
Default1
printThermalOnCreate?boolean
Defaultfalse

Response Body

OK

application/json
  1. response
curl -X POST 'https://api.tillor.eu/orgs/string/access-methods' \  -H 'Content-Type: application/json' \  -d '{  "customerId": "string"}'
null