Do you have any php exemple integration to grant right for someone for one year on a door?
I have read your GitHub but don't see any information about php exemple.
Thank you for your help
Unfortunately, we don't have any PHP-specific examples for using rest APIs.
Grant access can be easily done via the rest-based Tapkey Web API: https://developers.tapkey.io/openapi/tapkey_access_management_web_api_v1/#/Grants/Grants_Put
If you want to work with your own external users you have to sign JWT Id Tokens and configure an Identity Provider on https://portal.tapkey.io. Find more information about this topic here: https://developers.tapkey.io/api/authentication/identity_providers/
To grant access to such users you have then to register this user and create a contact in the owners locking system: https://developers.tapkey.io/api/authentication/identity_providers/
If you want to grant access to a card, the card must be first added to the locking system via the Tapkey App and after creating a grant, the card has to be synchronized via the Tapkey App. For security reasons, cards are not granted just by allowing the specific uid. Instead, the cars have unique cryptographical keys, which can not be copied.