GET Alerts Issued
The GET /Alerts/Issued method is used to retrieve details of all issued certificate request alerts configured in Keyfactor Command. Query parameters enable filtering using defined criteria, control over pagination by specifying the page number and return limit, and customization of sorting based on specified fields and order. This method returns HTTP 200 OK on a success with details about the specified issued certificate request alerts.
Table 229: GET Alerts Issued Input Parameters
Name | In | Description |
---|---|---|
QueryString | Query |
A string containing a query to limit the results (e.g., field1 -eq value1 AND field2 -gt value2). The default is to return all records.
|
PageReturned | Query | An integer that specifies how many multiples of the returnLimit to skip and offset by before returning results, to enable paging. The default is 1. |
ReturnLimit | Query | An integer that specifies how many results to return per page. The default is 50. Very large values can result in long processing time. |
SortField | Query |
A string containing the property by which the results should be sorted. Fields available for sorting through the API include:
Available sort fields are affected by the query provided in QueryString. The default sort field is DisplayName. |
SortAscending | Query | An integer that sets the sort order on the returned results. A value of 0 sorts results in ascending order while a value of 1 sorts results in descending order. The default is ascending. |
Table 230: GET Alerts Issued Response Data
Name |
Description |
---|---|
Id | An integer indicating the Keyfactor Command reference ID of the issued request alert. |
DisplayName | A string indicating the display name for the issued request alert. This name appears in the issued request alerts grid in the Management Portal. |
Subject |
A string indicating the subject for the email message that will be delivered when the alert is triggered. Tip: Substitutable special text may be used in the subject line. Substitutable special text uses a variable in the alert definition that is replaced by data from the certificate or certificate metadata at processing time. For example, you can enter {rcn} in the alert definition and each alert generated at processing time will contain the specific requested common name of the given certificate request instead of the variable {rcn}.
|
Message |
A string indicating the email message that will be delivered when the alert is triggered. The email message is made up of regular text and substitutable special text. If desired, you can format the message body using HTML. See Table 20: Substitutable Special Text for Issued Certificate Alerts in the Keyfactor Command Reference Guide for a complete list of available substitutable special text strings. |
Recipients |
An array of strings containing the recipients for the alert. Each alert can have multiple recipients. You can use specific email addresses and/or use substitutable special text to replace an email address variable with actual email addresses at processing time. When entering email addresses on the Recipients parameter, if more than one recipient is added to a string, all recipients in that string receive the same email and can see the other recipients on the email. To do this, enter email addresses separated by commas or semi-colons withing the string. To include multiple strings, separate each string by a comma within the array. "Recipients": [ "{certemail}", "pkiadmins@keyexample.com,bbrown@keyexample.com" ] Available email substitutable special text strings include: {certemail} and any custom email-based metadata field, which would be specified similarly to: {metadata:AppOwnerEmailAddress}. Note: Variables from the certificate must each be in a unique string and can not be added to a string with email addresses.
|
Template |
An object containing information about the certificate template for which the issued request alerts will be generated. A separate alert should be configured for each template. An alert may be configured with no template, if desired. Alerts configured in this way generate alerts for all issued certificate requests. |
RegisteredEventHandler |
An object containing the event handler configuration for the alert, if applicable. For more information about event handlers, see Using Event Handlers. |
EventHandlerParameters |
An array of objects containing the parameters configured for use by the event handler. The type of data will vary depending on the configured handler. |



Was this page helpful? Provide Feedback