Check-ins
Check-ins
Retrieve the list of check-ins
MobiCheckin provides a paginaged API to retrieve the list of check-ins of your event. Starts at page=1. Paginate every 500 check-ins. If you want to know how many check-ins took place at your event, you should query GET /api/v1/events/{id}.format and look at the property check_in_count.
JSON
Request
GET /api/v1/events/{event_id}/access_controls.json?page=1&auth_token=YOUR_API_TOKENResponse
// 200 OK
[
{
"_id": "{id}",
// When did the check-in took place? (UTC, use event.timezone for display purposes)
"access_stamp": "2012-11-26T15:44:44+01:00",
// The UID found in the scanned QR code. Beware, guest.uid != guest.id
"guest_uid": "68vju8yxgl",
// ACCESS_GRANTED = 0, GUEST_UNKNOWN = 1, NOT_AUTHORIZED = 2, TOO_MANY_CHECK_INS = 3
"access_status": 0,
// The check-in point where the check-in took place
"accesspoint_id": "{check_in_point_id}",
"event_id": "{event_id}",
"created_at": "2012-11-26T15:44:44+01:00",
"updated_at": "2012-11-26T15:44:44+01:00"
},
{
"_id": "{id}",
"access_stamp": "2012-11-26T15:44:44+01:00",
"guest_uid": "5ch0b30mnc",
"access_status": 0,
"accesspoint_id": "{check_in_point_id}",
"event_id": "{event_id}",
"created_at": "2012-11-26T15:44:44+01:00",
"updated_at": "2012-11-26T15:44:44+01:00"
},
// ...
]XML
Request
Response
You can increment the page query string parameter until you get an empty array.
Check-in someone
This is basically the method called by our iPad guest list app. each time you check-in someone (touching the list or scanning a QR code).
JSON
Request
Response
XML
Request
Response
Batch insert check-ins
Again, another method used by our iPad guest list app. when in Offline mode, to sync up check-ins once the network is up again.
You must submit an array of check-ins to create. If all of them are valid, and insertion is completed successfully, you will receive a 201 Created as answer. But if at least one of the check-ins fails to be inserted, then you will receieve a 422 Unprocessable Entity. In that case, check out the body response, which will be an array of created check-ins an error report (in the same order as the array you submitted in the request payload).
JSON
Request
Response
XML
Request
Response
Delete a check-in
You can delete guests (which is irreversible).
JSON
Request
Response
XML
Request
Response
Last updated
Was this helpful?