--- title: "Get VMC or CMC logo" source_url: https://dev.digicert.com/certcentral-apis/services-api/orders/get-vmc-or-cmc-logo.html api_method: GET api_endpoint: "/services/v2/order/certificate/12345/vmc/logo" api_url: "https://www.digicert.com/services/v2/order/certificate/12345/vmc/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** ```bash curl --request GET 'https://www.digicert.com/services/v2/order/certificate/12345/vmc/logo' \ --header 'Accept: application/json' \ --header 'X-DC-DEVKEY: {{api_key}}' ``` **Python** ```python 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) ``` **Go** ```go 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)) } ``` **NodeJS** ```javascript 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 ```json { "logo": {{compressed_base64_encoded_svg_logo}} } ``` ## Path parameters
Name Req/Opt Description
order_id required ID of a VMC or a CMC order.
## Response parameters
Name Type Description
logo string Compressed logo data, formatted as a base64-encoded string.