Site seal settings

GET
https://www.digicert.com/services/v2/order/certificate/{{order_id}}/site-seal

Use this endpoint to get the site seal settings for a certificate order.

A site seal is associated with a single certificate order. The seal is only valid on the domains included in that order.

Example requests and responses

cURL
curl -X GET \
  'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/site-seal' \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
import requests

url = "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/site-seal"

payload = ""
headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"
    }

response = requests.request("GET", url, data=payload, headers=headers)

print(response.text)
Go
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/site-seal"

	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))

}
NodeJS
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/site-seal',
  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
{
  "order_id": 125760521,
  "product_name_id": "ssl_securesite_pro",
  "seal_hash": "8yw99l0B",
  "seal_size": "m",
  "seal_number": 18,
  "seal_code": {{seal_code}}
}

Path parameters

Name Type Description
order_id string ID of the order associated with the site seal.

Response parameters

Name Type Description
order_id integer ID of the order associated with the site seal.
seal_hash string Site seal hash.
product_name_id string Product ID for the type of certificate on the order.
seal_size string Site seal size.
Possible values:
  • s (small)
  • m (medium)
  • l (large)
seal_number string Number that identifies the type of seal to display.
Possible values:
  • 15 (Norton)
  • 16 (GeoTrust)
  • 17 (Thawte)
  • 18 (DigiCert)
seal_code string Site seal embed code, formatted as an HTML string.