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>"
}
}
]
}'
Subscribe to project events
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>"
}
}
]
}'
Default Response
Was this page helpful?