POST
/
api
/
v1
/
events
/
subscribe
/
project-events
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/events/subscribe/project-events \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "<string>",
  "register": [
    {
      "event": "secret:create",
      "conditions": {
        "secretPath": "/",
        "environmentSlug": "<string>"
      }
    }
  ]
}'

Body

application/json

Response

200

Default Response