Aug. 25, 2020, 3:11 p.m.
download Selock Zapier API
Selock Zapier API
We use API key authentication.
You need get token in our site:
And put it in Zapier authentication
We await token in url https://selock.co/api/v1/zaiper/auth/ in body 'token': <token>
It triggered when the battery charge drops below 20%
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/battery/
https://selock.co/api/v1/zaiper/unsubscribe/battery/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>"
An example of what we send in the POST:
It triggered when Sciener sends a lock status change callback
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/locks/
https://selock.co/api/v1/zaiper/unsubscribe/locks/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>"
An example of what we send in the POST:
We send callback data from Sciener
https://open.sciener.com/doc/api/v3/lockRecord/notify/
It triggered when Sciener sends a lock status change callback with success open
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/locks_open/
https://selock.co/api/v1/zaiper/unsubscribe/locks_open/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>"
An example of what we send in the POST:
We send callback data from Sciener
https://open.sciener.com/doc/api/v3/lockRecord/notify/
It triggered when Sciener sends a lock status change callback with success close
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/locks_close/
https://selock.co/api/v1/zaiper/unsubscribe/locks_close/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>"
An example of what we send in the POST:
We send callback data from Sciener
https://open.sciener.com/doc/api/v3/lockRecord/notify/
It triggered when a new order is created for the Selock
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/orders/
https://selock.co/api/v1/zaiper/unsubscribe/orders/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>",
"order_fields": ["confirmed",]
Values accepted in the order_fields list:
An example of what we send in the POST:
It triggered when an order for the Silk changes
Subscribe:
https://selock.co/api/v1/zaiper/subscribe/orders_change/
https://selock.co/api/v1/zaiper/unsubscribe/orders_change/
With your Selock token and url in the body:
"hookUrl": "<hook-url>",
"token": "<token>",
"order_change_fields": ["confirmed",]
Values accepted in the order_change_fields list:
An example of what we send in the POST:
Changes lock status
url:
https://selock.co/api/v1/zaiper/change_lock_status/
await in the body:
Changes your Selock order
url:
https://selock.co/api/v1/zaiper/change_order/
await in the body:
Create your Selock order
url:
https://selock.co/api/v1/zaiper/create_order/
await in the body:
If the order is successfully created, it will return::