Create a time-limited access guest
remotelock_create_access_guestWRITE: creates an access guest whose PIN/card only works between starts_at and ends_at (local time of the lock). It creates the person only; use remotelock_grant_access to give them doors. The reply includes the PIN. POST /access_persons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | A PIN of 4-10 digits. Omit and set generate_pin to let RemoteLock pick one. | |
| name | Yes | Full name. | |
| No | Email address (RemoteLock can email the access instructions). | ||
| phone | No | Phone in E.164 format, e.g. +14155551234. | |
| ends_at | Yes | Local date-time without a timezone, e.g. 2026-12-24T16:00 (read in the lock's time zone). | |
| starts_at | Yes | Local date-time without a timezone, e.g. 2026-12-24T16:00 (read in the lock's time zone). | |
| card_number | No | Prox card number, if the person uses a card. | |
| generate_pin | No | true: RemoteLock generates a random PIN (returned in the reply). |