Passer au contenu principal
GET
/
cms
/
v3
/
audit-logs
Demander les fichiers journaux d'audit
curl --request GET \
  --url https://api.hubapi.com/cms/v3/audit-logs/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "objectId": "4065364319",
      "objectName": "My Landing Page",
      "fullName": "John Doe",
      "event": "UPDATED",
      "userId": "1011561",
      "timestamp": "1583792674672",
      "objectType": "LANDING_PAGE"
    }
  ],
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  }
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Entreprise

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Paramètres de requête

after
string

Horodatage après lequel les journaux d'audit seront affichés

before
string

Horodatage avant lequel les journaux d'audit seront affichés

eventType
string[]

Liste séparée par des virgules de types d'événements à filtrer (CRÉÉ, MIS À JOUR, PUBLIÉ, SUPPRIMÉ, NON PUBLIÉ).

limit
integer<int32>

Le nombre de fichiers journaux à renvoyer.

objectId
string[]

Liste d'identifiants d'objets séparés par des virgules à filtrer par.

objectType
string[]

Liste des types d'objets à filtrer par (BLOG, LANDING_PAGE, DOMAIN, HUBDB_TABLE, etc.)

sort
string[]

La direction de tri pour les journaux d'audit. (Peut seulement être trié par horodatage).

userId
string[]

Liste d'identifiants d'utilisateurs séparés par des virgules à filtrer par.

Réponse

successful operation

The collection of audit logs.

results
object[]
requis
paging
object
Last modified on December 8, 2025