Skip to main content

Use the latest attendances widget to display real-time traffic data

Display real-time guest movement trends by sending attendance data to Mobaro via API.

Logan Bowlby avatar
Written by Logan Bowlby
Updated over 3 weeks ago

Overview

The Latest attendances widget allows your team to monitor current guest flow and live attendance numbers by feeding data into Mobaro from your access control or gate systems. This real-time display can help operators make informed decisions about staffing, safety, and operational adjustments throughout the day.

To use this widget, your system must regularly send attendance updates using the Mobaro API.


How to send attendance data

To display data in the widget, you’ll need to use the /api/customers/attendance endpoint to post your latest attendance figures.

Note: You must have API access with write privileges to use this feature. If you’re unsure whether your key has the correct permissions, reach out to your Mobaro admin or support contact.

Required API endpoint

POST /api/customers/attendance

Required headers

Content-Type: application/json-patch+json  
x-api-key: YOUR_SECRET_TOKEN

Sample payload

{
"timestamp": "2025-07-23T10:15:00Z",
"entries": 183,
"reEntries": 24,
"exits": 96,
"currentAttendance": 275,
"target": "locationgroup/123456-B",
"source": "Mobaro Attendance Counter"
}

Parameter breakdown

Field

Type

Required

Description

timestamp

string

yes

ISO 8601 timestamp of the update (e.g., 2025-07-23T10:15:00Z)

entries

number

optional

Number of new guest entries since last update

reEntries

number

optional

Guests who re-entered the venue

exits

number

optional

Number of exits since the last update

currentAttendance

number

optional

Total number of guests currently inside the park

target

string

optional

Used to assign data to a specific Mobaro location group (e.g., locationgroup/123456-B). If omitted, the data is applied at the organization level.

source

string

optional

Defaults to "Other"

Important: The target must match a valid locationgroup ID in your Mobaro account. Only data sent to this endpoint will appear in the Latest attendances widget. Manual entry is not supported.


Best practices

  • Update regularly: We recommend pushing updates every 5–10 minutes during operating hours for best accuracy.

  • Use distinct target values if you want to display multiple gates or zones independently.

  • Validate your payloads to prevent unexpected data drops due to formatting errors.


Frequently asked questions

Q: Do I need to configure anything in the Mobaro platform to activate the widget?
A: No manual configuration is required beyond placing the widget on a dashboard. Once valid data is received with a matching target, the widget will display it.

Q: Can I use this with historical data?
A: This widget is designed for real-time or near-real-time updates. Historical data won't be visualized in this widget.

Q: What happens if no data is received for a long period?
A: The widget will show the last known values until new data is received. Gaps may be highlighted depending on your dashboard settings.

Q: Can I test this without a live integration?
A: Yes. You can send sample payloads using a tool like Postman or curl with your API token.

Q: Can Mobaro help us with integration?
A: Absolutely! If you’re working with a third-party system or need help formatting your payloads, our Professional Services team is happy to help with setup and integration.

Did this answer your question?