---
title: "Get project webhook policy last trigger info"
method: GET
path: "/projects/{project_name_or_id}/webhook/lasttrigger"
tags: ["webhook"]
deprecated: true
---

# Get project webhook policy last trigger info

`GET /projects/{project_name_or_id}/webhook/lasttrigger`

> **Deprecated.**

This endpoint returns last trigger information of project webhook policy.

## Path parameters

- `project_name_or_id` string, required

## Headers

- `X-Request-Id` string
- `X-Is-Resource-Name` boolean

## Response `200`

Test webhook connection successfully.

- WebhookLastTrigger[]
  - `policy_name` string — The webhook policy name.
  - `event_type` string — The webhook event type.
  - `enabled` boolean — Whether or not the webhook policy enabled.
  - `creation_time` string, date-time — The creation time of webhook policy.
  - `last_trigger_time` string, date-time — The last trigger time of webhook policy.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
