List the clients of a device, up to a maximum of a month ago

GET {{baseUrl}}/devices/:serial/clients

List the clients of a device, up to a maximum of a month ago. The usage of each client is returned in kilobytes. If the device is a switch, the switchport is returned; otherwise the switchport field is null.

Request Params

KeyDatatypeRequiredDescription
t0stringThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespanstringThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"usage":{"sent":138,"recv":61},"id":"k74272e","description":"Miles's phone","mac":"22:33:44:55:66:77","ip":"1.2.3.4","user":"milesmeraki","vlan":255,"switchport":null,"adaptivePolicyGroup":null,"mdnsName":"Miles's phone","dhcpHostname":"MilesPhone"}]