Home
/
Integration
/
Spintly Platform Integrations
Sending access data from Spintly to third parties
Sending access data from Spintly to third parties
Automatically push events data to a third-party system via a webhook, This is included in the type 1 and type 2 integration, In this integration when a person does a swipe, the event can be forwarded a client backend provided the client has given an http url and an x-api-key, below is one of the same access events which can be forwarded
Mobile Event
{
"messageVersion": 1,
"messageData": {
"requestId": "7a9aff55-d695-4d4e-8069-1b772bf9b321",
"msgType": "access_event",
"dataVersion": 1,
"data": {
"orgId": 2409,
"integratorId": 1,
"orgUserId": 673371,
"eventTimeEpoch": 1743588066,
"direction": "entry",
"accessType": "mobile",
"eventId": 226907180,
"accessPointId": 1234,
"employeeCode": " 12334",
"accessPointName": "door1",
"mobileAccessMode": "click_to_access/tap_to_access",
"siteId": 14603,
"name": "jane doe"
}
}
}
Card Event
{
"messageVersion": 1,
"messageData": {
"requestId": "dcea82c5-6135-4ccf-95a6-3cef3b62f4b8",
"msgType": "access_event",
"dataVersion": 1,
"data": {
"orgId": 223,
"integratorId": 1,
"orgUserId": 335532,
"eventTimeEpoch": 1745235725,
"direction": "entry",
"accessType": "card",
"eventId": 222423,
"accessPointId": 54,
"employeeCode": "A123",
"accessPointName": "Entrance Door",
"mobileAccessMode": null,
"siteId": 11,
"name": "john dor"
}
}
}