Ga naar inhoud
English

List what changed in the account, newest first

GET
/v1/activity
curl --request GET \
--url 'https://api.virtualdisplay.io/v1/activity?page=1&per_page=20&client_id=woocommerce-sync-1&kind=model%2Cproduct&q=eiken' \
--header 'Authorization: Bearer <token>'
page
integer

Which page of the list to answer, from 1. Defaults to 1.

Example

1
per_page
integer

How many entries a page holds, from 1 to 100. Defaults to 20, and a larger number is answered with 100.

Example

20
client_id
string

Only what this integration did, and what was done to it. The client_id the integration was given.

Example

woocommerce-sync-1
kind
string

Only these kinds of change: a comma-separated list of model, product, pricing, billing_details, property, integration, subscription, account and user.

Example

model,product
q
string

Keeps the entries whose subject contains this text, as you see the subject. Case does not matter, and the text is at most 200 characters.

Example

eiken

OK

Media typeapplication/json
object
activity
required

The entries on this page, newest first.

Array<object>
object
action
required

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.

string
actor
required

Who or what made the change.

object
client
required

The integration the change was made through, by its name. Empty for a change made in Portal.

string
client_id
required

The client_id of that integration. Empty when no integration was used.

string
name
required

The name of the person who acted. Empty when no person acted, as for an integration.

string
type
required

The kind of actor: customer, admin, or system for a change Virtualdisplay made with no person behind it. An integration acts as the Customer, with its client set.

string
at
required

When the change was made, in UTC.

string format: date-time
changes
required

Each field that changed, by name, with its value before and after.

object
key
additional properties
object
from
required
Any JSON value

The value before the change.

to
required
Any JSON value

The value after the change.

kind
required

What the change was to: model, product, pricing, billing_details, property, integration, subscription, account or user.

string
part

The part of the subject that changed, when only a part did. Absent when the whole subject changed.

string
subject
required

What changed, by its name. For an integration, a user is named by first name only.

string
subject_id
required

The id of what changed, such as the model’s id.

string format: uuid
pagination
required

Where this page sits among the matching entries.

object
page
required

The page this answer is for, starting at 1.

integer
per_page
required

How many items a page holds.

integer
total
required

How many items match, across every page.

integer
total_pages
required

How many pages the matching items fill.

integer

Example

{
"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
}
}

Bad Request

Media typeapplication/json
object
details

Null when the answer names no field. Otherwise, each field that is wrong:

  • kind: invalid_choice (Not a kind in the list, or a comma-separated list with one that is not.)
  • q: too_long (Longer than 200 characters.)
object
kind
  • invalid_choice: Not a kind in the list, or a comma-separated list with one that is not.
string
Allowed values: invalid_choice
q
  • too_long: Longer than 200 characters.
string
Allowed values: too_long
error
required
  • validation_error: A field is wrong, or the body is not the JSON the operation takes. details names each wrong field; repair it, do not retry as it is.
string
Allowed values: validation_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

{
"details": {
"kind": "invalid_choice",
"q": "too_long"
},
"error": "validation_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries unauthorized or token_invalid. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • unauthorized: No Bearer token was sent, or the token was revoked, or its integration was disabled. Send a valid token, do not retry the same one.
  • token_invalid: The token is malformed, has a bad signature or has expired. Exchange the secret for a new token, then retry once.
string
Allowed values: unauthorized token_invalid
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

{
"error": "token_invalid",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries forbidden. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • forbidden: The token is valid, but this integration may not make this call. Do not retry.
string
Allowed values: forbidden
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleforbidden
{
"error": "forbidden",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

Request Entity Too Large

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • body_too_large: The request body is larger than we accept, so nothing was done. Make it smaller, then retry once.
string
Allowed values: body_too_large
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplebody_too_large
{
"error": "body_too_large",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries rate_limited. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • rate_limited: The integration or its Customer is over its budget. Wait for the Retry-After seconds, then retry.
string
Allowed values: rate_limited
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplerate_limited
{
"error": "rate_limited",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries internal_error. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • internal_error: Our fault. Retry with backoff, then stop; send the trace_id if it persists.
string
Allowed values: internal_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleinternal_error
{
"error": "internal_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}