See what changed
You read your own account’s history through an integration you made in Portal. The history lists the changes we record to models, products, prices, billing details, properties, integrations, the subscription and users, with who or what made each one. First make an integration and get a token.
The requests below use three shell variables: $CLIENT_ID and $CLIENT_SECRET from your integration, and $TOKEN
set to the access_token from the first step.
Get a token
Section titled “Get a token”Exchange the integration’s ID and secret for a token:
curl -X POST https://api.virtualdisplay.io/v1/oauth/token \ -d grant_type=client_credentials \ -d client_id=$CLIENT_ID \ -d client_secret=$CLIENT_SECRETCopy access_token from the response into TOKEN.
Read the history
Section titled “Read the history”GET /v1/activity returns one page of changes, newest first. Each change says what it was to, what happened and who
made it:
GET /v1/activity List what changed in the account, newest first.
Request
curl -X GET "https://api.virtualdisplay.io/v1/activity" \ -H "Authorization: Bearer $TOKEN"const token = process.env.TOKEN;
const response = await fetch("https://api.virtualdisplay.io/v1/activity", { method: "GET", headers: { Authorization: `Bearer ${token}`, },});
const data = await response.json();<?php
use GuzzleHttp\Client;
$token = getenv('TOKEN');$client = new Client(['base_uri' => 'https://api.virtualdisplay.io']);$response = $client->request('GET', '/v1/activity', [ 'headers' => [ 'Authorization' => 'Bearer ' . $token, ],]);echo $response->getBody();import os
import requests
token = os.environ["TOKEN"]response = requests.get( "https://api.virtualdisplay.io/v1/activity", headers={"Authorization": f"Bearer {token}"},)print(response.json())Response 200
{ "activity": [ { "at": "2026-11-16T14:03:21Z", "kind": "model", "subject_id": "0196a1f0-b8d4-7e21-8a6f-3c9d1e5b2f40", "subject": "eiken-stoel.glb", "action": "changed", "actor": { "type": "customer", "name": "Anne", "client": "woocommerce-sync", "client_id": "woocommerce-sync-1" }, "changes": { "file_size": { "from": 2400000, "to": 2481916 } } }, { "at": "2026-11-15T09:30:00Z", "kind": "user", "subject_id": "0196a1f2-5c3e-7b8a-9d10-6e4f2a7b8c21", "subject": "Sanne", "action": "created", "actor": { "type": "customer", "name": "Anne", "client": "", "client_id": "" }, "changes": { "role": { "from": null, "to": "editor" } } } ], "pagination": { "page": 1, "per_page": 20, "total": 2, "total_pages": 1 }}What each field means
Response fields
activity: The entries on this page, newest first.activity.action: What was done to the subject: created, changed, deleted or restored; an integration granted, replaced (its secret) or revoked; a subscription chosen, set, cancelled or reactivated; the account opened by Virtualdisplay; a user's password reset.activity.actor: Who or what made the change.activity.at: When the change was made, in UTC.activity.changes: Each field that changed, by name, with its value before and after.activity.kind: What the change was to: model, product, pricing, billing_details, property, integration, subscription, account or user.activity.part: The part of the subject that changed, when only a part did. Absent when the whole subject changed.activity.subject: What changed, by its name. For an integration, a user is named by first name only.activity.subject_id: The id of what changed, such as the model's id.pagination: Where this page sits among the matching entries.pagination.page: The page this answer is for, starting at 1.pagination.per_page: How many items a page holds.pagination.total: How many items match, across every page.pagination.total_pages: How many pages the matching items fill.
kindis what the change was to, andactionwhat happened to it. The table below lists the pairs.partis set only when a part of the thing changed, such as a model’scamera, an integration’ssecretoraccess, or a user’spassword.actor.typeiscustomeroradmin.actor.clientandactor.client_idname the integration that made the change, when one did, andactor.nameis empty for an integration: it names no person.changesholds each field that changed, with its value before (from) and after (to).
Kinds and actions
Section titled “Kinds and actions”| Kind | What it is | Actions |
|---|---|---|
model |
a 3D model | created, changed, deleted |
product |
a product | created, changed, deleted |
pricing |
a model’s price rules | created, changed |
billing_details |
the billing details | created, changed |
property |
a product property | created, changed, deleted |
integration |
an integration | created, granted, replaced, revoked |
subscription |
the subscription | chosen, set, cancelled, reactivated |
account |
the account | opened |
user |
a user who can sign in | created, changed, deleted, reset |
account and subscription changes can be made by us. Then actor.type is admin.
Names are first names
Section titled “Names are first names”An integration sees people by first name only. In actor.name, and in the subject of a user row, Sanne de Vries
reads as Sanne. Things that are not people keep their whole name, so a product or a filename is unchanged. A
customer’s own token sees full names.
Narrow the list
Section titled “Narrow the list”Add these query parameters to GET /v1/activity:
| Parameter | What it keeps |
|---|---|
kind |
the kinds you name, comma-separated, such as kind=model,product. An unknown kind is a 400 |
client_id |
one integration’s public client ID: what it did, and what was done to it |
q |
changes whose subject contains this text, ignoring case, as your integration reads it |
page, per_page |
the page, and how many a page holds: 20 by default, 100 at most |
A client_id that matches no integration on your account returns an empty page, not an error.
Narrow by kind:
GET /v1/activity List what changed in the account, newest first.
Request
curl -X GET "https://api.virtualdisplay.io/v1/activity?kind=model,product" \ -H "Authorization: Bearer $TOKEN"const token = process.env.TOKEN;
const response = await fetch("https://api.virtualdisplay.io/v1/activity?kind=model,product", { method: "GET", headers: { Authorization: `Bearer ${token}`, },});
const data = await response.json();<?php
use GuzzleHttp\Client;
$token = getenv('TOKEN');$client = new Client(['base_uri' => 'https://api.virtualdisplay.io']);$response = $client->request('GET', '/v1/activity?kind=model,product', [ 'headers' => [ 'Authorization' => 'Bearer ' . $token, ],]);echo $response->getBody();import os
import requests
token = os.environ["TOKEN"]response = requests.get( "https://api.virtualdisplay.io/v1/activity?kind=model,product", headers={"Authorization": f"Bearer {token}"},)print(response.json())Narrow by one integration, using its client ID:
GET /v1/activity List what changed in the account, newest first.
Request
curl -X GET "https://api.virtualdisplay.io/v1/activity?client_id=woocommerce-sync-1" \ -H "Authorization: Bearer $TOKEN"const token = process.env.TOKEN;
const response = await fetch("https://api.virtualdisplay.io/v1/activity?client_id=woocommerce-sync-1", { method: "GET", headers: { Authorization: `Bearer ${token}`, },});
const data = await response.json();<?php
use GuzzleHttp\Client;
$token = getenv('TOKEN');$client = new Client(['base_uri' => 'https://api.virtualdisplay.io']);$response = $client->request('GET', '/v1/activity?client_id=woocommerce-sync-1', [ 'headers' => [ 'Authorization' => 'Bearer ' . $token, ],]);echo $response->getBody();import os
import requests
token = os.environ["TOKEN"]response = requests.get( "https://api.virtualdisplay.io/v1/activity?client_id=woocommerce-sync-1", headers={"Authorization": f"Bearer {token}"},)print(response.json())Narrow by the text in a subject:
GET /v1/activity List what changed in the account, newest first.
Request
curl -X GET "https://api.virtualdisplay.io/v1/activity?q=eiken" \ -H "Authorization: Bearer $TOKEN"const token = process.env.TOKEN;
const response = await fetch("https://api.virtualdisplay.io/v1/activity?q=eiken", { method: "GET", headers: { Authorization: `Bearer ${token}`, },});
const data = await response.json();<?php
use GuzzleHttp\Client;
$token = getenv('TOKEN');$client = new Client(['base_uri' => 'https://api.virtualdisplay.io']);$response = $client->request('GET', '/v1/activity?q=eiken', [ 'headers' => [ 'Authorization' => 'Bearer ' . $token, ],]);echo $response->getBody();import os
import requests
token = os.environ["TOKEN"]response = requests.get( "https://api.virtualdisplay.io/v1/activity?q=eiken", headers={"Authorization": f"Bearer {token}"},)print(response.json())If a request fails, the errors page says what each status means and what to do next.