List reissues
3 minute read
GET
Use this endpoint to list all certificate reissues for an order.https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue
Example requests and responses
curl -X GET \
'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue' \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'import requests
url = "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue"
payload = ""
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}var request = require("request");
var options = { method: 'GET',
url: 'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue',
headers:
{ 'Content-Type': 'application/json',
'X-DC-DEVKEY': '{{api_key}}' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});200 OK
{
"certificates": [
{
"id": 12345,
"thumbprint": "<thumbprint>",
"serial_number": "<serial_number>",
"common_name": "example.com",
"dns_names": [
"sub.example.com",
"*.example.org"
],
"status": "issued",
"date_created": "2019-04-08T17:33:26+00:00",
"date_issued": "2019-04-08T18:31:16+00:00",
"valid_till": "2020-04-08",
"days_remaining": 267,
"csr": "<csr>",
"key_size": 2048,
"archived": 0,
"user_id": 1576,
"email": "logan.nelson@example.com",
"firstname": "Logan",
"lastname": "Nelson",
"receipt_id":"1234",
"purchased_dns_names":"2",
"purchased_wildcard_names":"1"
},
{
"id": 23456,
"common_name": "example.com",
"dns_names": [
"www.example.com"
],
"status": "rejected",
"date_created": "2018-11-14T19:57:09+00:00",
"csr": "<csr>",
"key_size": 2048,
"archived": 0,
"user_id": 1576,
"email": "logan.nelson@example.com",
"firstname": "Logan",
"lastname": "Nelson"
},
{
"id": 34567,
"common_name": "example.net",
"dns_names": [
"example.net"
],
"status": "pending",
"date_created": "2018-11-15T22:41:43+00:00",
"csr": "<csr>",
"key_size": 2048,
"archived": 0,
"user_id": 1576,
"email": "logan.nelson@example.com",
"firstname": "Logan",
"lastname": "Nelson"
}
]
}
URL query parameters
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| show_archived | optional | boolean | If true, response includes archived certificates. If false (default), response omits archived certificates. |
Response parameters
| Name | Type | Description |
|---|---|---|
| certificates | array | List of certificates returned by the request. |
| .. id | int | Certificate ID. |
| .. thumbprint | string | Thumbprint of the certificate. |
| .. serial_number | string | Serial number of the certificate. |
| .. common_name | string | Name secured by the certificate. |
| .. dns_names | array | List of additional names secured by the certificate. |
| .. status | string | Status of the certificate. Possible values:issued, pending, rejected |
| .. date_created | string | Date and time the certificate was requested. Format: UTC timezone and ISO 8601 date |
| .. date_issued | string | Date and time the certificate was issued. Omitted for pending and rejected reissues. Format: UTC timezone and ISO 8601 date |
| .. valid_till | string | Expiration date of the certificate. Format: |
| yyyy-MM-dd | ||
| .. days_remaining | int | Number of days until certificate expires. |
| .. csr | string | Certificate signing request. |
| .. key_size | int | Number of bits used in the key. |
| .. archived | int | If 1, the certificate is archived. If 0, the certificate is not archived. |
| .. user_id | int | ID of user that requested the reissue. |
| string | Email address of user that requested the reissue. | |
| .. firstname | string | First name of user that requested the reissue. |
| .. lastname | string | Last name of user that requested the reissue. |
| .. receipt_id | string | Receipt ID for reissued certificate order. |
| .. purchased_dns_names | string | Number of domains added to the reissued order that you were charged for. Note: “0’ is returned if you added domains but weren’t charged for them. |
| .. purchased_wildcard_names | string | Number of wildcard domains added to the reissued order you were charged for. Note: “0’ is returned if you added domains but weren’t charged for them. |
Was this page helpful?
Provide feedback