List user field history
Returns a paginated list of user permission field change records. Each record captures a single field change — the field name, its new value, the source of the change, and when it happened.
Tracked fields: email_allowed, sms_allowed, call_allowed, whatsapp_allowed.
Results are ordered by created_date descending by default (most recent first). Use ?sort=created_date for ascending or ?sort=-created_date for descending.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the exact user identifier.
1001Filter by the exact field name (e.g. email_allowed, sms_allowed).
email_allowedThe source that triggered the permission field change.
iysPossible values: A paginated list of user field history records.
A paginated list of user field history records.
Total number of records matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
GET /api/v1/remote/1/users/field-history/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 42,
"user": 1001,
"field_name": "email_allowed",
"value": "True",
"source": "user",
"created_date": "2024-03-15T10:23:45Z"
}
]
}Last updated
Was this helpful?

