Skip to main content

Send digital credentials via automated emails

In this use case, once you run the request, Kisi will send an automatic email to the defined email address, containing the digital credential. Once clicking on the link, the user will land on a Kisi-branded page with one or more doors they are provided access to.

info

Users with a digital credential can unlock doors associated with the link without having to sign in. Also, Geofence restrictions and Kisi Reader restrictions do not apply to digital credentials, allowing remote door opening from any location. To ensure secure usage, please follow our recommended access link best practices.

  1. Send a POST request to the Create group link endpoint, following the example below.

Example

curl --request POST \
--url https://api.kisi.io/group_links \
--header 'Authorization: KISI-LOGIN <API_KEY> ' \
--header 'Content-Type: application/json' \
--data '{
""group_link": {
"name": "string",
"group_id": 0,
"email": "user@example.com",
"valid_from": "2021-03-23T05:40:00Z",
"valid_until": "2021-03-29T05:40:00Z"
}
}'
  • name - the name of the access link
  • group_id - the ID of the group the access link will be associated to
  • email - the email address the access link will be sent to
  • valid_from - the date and time at which the access link becomes valid
  • valid_until - the date and time at which the access link ceases to be valid
tip

Make sure to provide a meaningful name (e.g. the name of the user to whom the access link is sent to) to simplify access and unlock events auditing.

Response

If your request was successful, you'll receive a 200 OK response with the access link object, the user by whom it has been issued, and the authentication token associated with this access link.

{
"id": 0,
"email": "user@example.com",
"group_id": 0,
"name": "string",
"valid_from": "2021-03-23T05:40:00Z",
"valid_until": "2021-03-29T05:40:00Z"
"issued_by": {
"id": 0,
"name": "string",
"email": "user@example.com"
},
"secret": "0"
}
info

A digital credential is always associated to a group. This means, the link provides access to the same doors its associated group provides access to.