List reissues

GET https://www.digicert.com/services/v2/order/certificate/{{order_id}}/reissue
Use this endpoint to list all certificate reissues for an order.

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

NameReq/OptTypeDescription
show_archivedoptionalbooleanIf true, response includes archived certificates. If false (default), response omits archived certificates.

Response parameters

NameTypeDescription
certificatesarrayList of certificates returned by the request.
.. idintCertificate ID.
.. thumbprintstringThumbprint of the certificate.
.. serial_numberstringSerial number of the certificate.
.. common_namestringName secured by the certificate.
.. dns_namesarrayList of additional names secured by the certificate.
.. statusstringStatus of the certificate.
Possible values:issued, pending, rejected
.. date_createdstringDate and time the certificate was requested.
Format: UTC timezone and ISO 8601 date
.. date_issuedstringDate and time the certificate was issued. Omitted for pending and rejected reissues.
Format: UTC timezone and ISO 8601 date
.. valid_tillstringExpiration date of the certificate.
Format:
yyyy-MM-dd
.. days_remainingintNumber of days until certificate expires.
.. csrstringCertificate signing request.
.. key_sizeintNumber of bits used in the key.
.. archivedintIf 1, the certificate is archived. If 0, the certificate is not archived.
.. user_idintID of user that requested the reissue.
.. emailstringEmail address of user that requested the reissue.
.. firstnamestringFirst name of user that requested the reissue.
.. lastnamestringLast name of user that requested the reissue.
.. receipt_idstringReceipt ID for reissued certificate order.
.. purchased_dns_namesstringNumber 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_namesstringNumber 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.