Get VMC or CMC logo

GET https://www.digicert.com/services/v2/order/certificate/12345/vmc/logo
Use this endpoint to get the logo from a Verified Mark Certificates (VMC) or a Common Mark Certificate (CMC) order.

Request format

You can request the SVG data for the logo, or you can request a base64-encoded string with the compressed logo data.

  • To get the SVG data for the logo, set the Accept header to image/svg+xml.
  • To get a base64-encoded string with the compressed logo data, set the Accept header to application/json.

Example requests and responses

curl --request GET 'https://www.digicert.com/services/v2/order/certificate/12345/vmc/logo' \
--header 'Accept: application/json' \
--header 'X-DC-DEVKEY: {{api_key}}'
import requests
import json

url = "https://www.digicert.com/services/v2/order/certificate/144457106/vmc/logo"

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

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

print(response.text)
package main

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

func main() {

		url := "https://www.digicert.com/services/v2/order/certificate/144457106/vmc/logo"
		method := "GET"

		client := &http.Client {
		}
		req, err := http.NewRequest(method, url, nil)

		if err != nil {
				fmt.Println(err)
				return
		}
		req.Header.Add("X-DC-DEVKEY", {{api_key}})
		req.Header.Add("Content-Type", "application/json")

		res, err := client.Do(req)
		if err != nil {
				fmt.Println(err)
				return
		}
		defer res.Body.Close()

		body, err := ioutil.ReadAll(res.Body)
		if err != nil {
				fmt.Println(err)
				return
		}
		fmt.Println(string(body))
}
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://www.digicert.com/services/v2/order/certificate/144457106/vmc/logo',
  'headers': {
    'X-DC-DEVKEY': {{api_key}},
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

200 OK

{
  "logo": {{compressed_base64_encoded_svg_logo}}
}

Path parameters

NameReq/OptDescription
order_idrequiredID of a VMC or a CMC order.

Response parameters

NameTypeDescription
logostringCompressed logo data, formatted as a base64-encoded string.