---
title: "POST /api/v1/events/subscribe/project-events"
method: POST
path: "/api/v1/events/subscribe/project-events"
tags: ["Event Subscriptions"]
---

# POST /api/v1/events/subscribe/project-events

`POST /api/v1/events/subscribe/project-events`

Subscribe to project events

## Request body

- object
  - `projectId` string, required — The ID of the project to subscribe to events for.
  - `register` object[], required
    - `event` 'secret:create' | 'secret:update' | 'secret:delete' | 'secret:import-mutation', required
    - `conditions` object
      - `secretPath` string
      - `environmentSlug` string

## Response `200`

Default Response

---

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