Get Latest Activity

Retrieve the latest activity for an account.

GET https://api.sonorancms.com/v2/community/accounts/00000000-0000-0000-0000-000000000000/activity/latest

Rate limit: 27 requests per minute

Authenticated v2 endpoints are rate limited per credential rather than per IP address.

Retrieve the latest activity for an account.

Route Parameters

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| accountId | string (uuid) | Yes | Target accountId. |

Query Parameters

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| accId | string | Yes | See example request for the shape. |

| type | string | Yes | See example request for the shape. |

Example Request

Response

When type=clockin the data array contains the three newest clock rows. When type=activity the same endpoint returns recent activity log rows instead of clock rows.

Last updated

Was this helpful?