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>"
      }
    }
  ]
}'