Skip to main content
POST
/
api
/
v1
/
cert-manager
/
alerts
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/cert-manager/alerts \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "filters": [
    {
      "value": "<string>"
    }
  ],
  "channels": [
    {
      "config": {
        "recipients": [
          "jsmith@example.com"
        ]
      },
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "enabled": true
    }
  ],
  "description": "<string>",
  "alertBefore": "<string>",
  "enabled": true,
  "notificationConfig": {
    "enableDailyNotification": false
  },
  "applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "alert": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "filters": [
      {
        "value": "<string>"
      }
    ],
    "enabled": true,
    "applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "notificationConfig": {
      "enableDailyNotification": false
    },
    "channels": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "config": {},
        "enabled": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "alertBefore": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://infisical.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
name
string
required
Required string length: 1 - 255
eventType
enum<string>
required
Available options:
expiration,
renewal,
issuance,
revocation
filters
object[]
required
channels
object[]
required
Required array length: 1 - 10 elements
description
string
Maximum string length: 1000
alertBefore
string
enabled
boolean
default:true
notificationConfig
object
applicationId
string<uuid>

Optional Application this alert is scoped to

Response

Default Response

alert
object
required