---
title: "List Credential's Events"
method: GET
path: "/plug/credentials/{credentialId}/events"
tags: ["Credentials"]
---

# List Credential's Events

`GET /plug/credentials/{credentialId}/events`

This endpoint allows you to view the event history for a credential. For example, you query this endpoint to find out when a credential was created and who it was created by. This endpoint is pageable.

This endpoint supports [Sandbox Mode](https://docs.arcadia.com/docs/sandbox-testing).

## Path parameters

- `credentialId` string, required

## Query parameters

- `search` string
- `page` integer
- `size` integer
- `sort` string[]

## Headers

- `Arcadia-Version` string, required

## Response `200`

OK

- PagedPublicCredentialEventResource
  - `credentialEvents` PublicCredentialEventResource[], required — Events associated with the credential, such as when the value of a field changes etc.
    - `createdAt` string, date-time, required — The date-time this event occurred
    - `createdBy` string, required — The user or system that initiated the event.
    - `eventType` 'CREDENTIAL_CREATED' | 'CREDENTIAL_ACTIVATED' | 'CREDENTIAL_DEACTIVATED' | 'CREDENTIAL_UPDATED', required — The type of event that occurred.
    - `fieldName` string, nullable, required — For custom data changes, represents which custom data field was modified.
    - `id` string, required — A unique identifier for the event.
    - `newValue` string, nullable, required — For custom data changes, represents the newly assigned value of the field.
    - `oldValue` string, nullable, required — For custom data changes, represents the previous value of the field.
  - `page` PageMetadata, required — Specifies which page of results to return; this is 0-indexed
    - `number` integer, required
    - `size` integer, required
    - `totalElements` integer, required
    - `totalPages` integer, required

---

[API](https://skmtc.net/arcadia/apis/plug-api.md) · [All operations](https://skmtc.net/arcadia/apis/plug-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arcadia/plug-api/versions/d00587742116/schema)
