Account details

GET https://www.digicert.com/services/v2/account
Use this endpoint to get details about your CertCentral account.

Example requests and responses

curl -X GET \
  https://www.digicert.com/services/v2/account \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = "https://www.digicert.com/services/v2/account"

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/account"

	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/account',
  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

{
  "id": 112234,
  "make_renewal_calls": true,
  "express_install_enabled": false,
  "admin_email": "notifications@digicert.com, will.smith@digicert.com",
  "display_rep": true,
  "rep_name": "Jane",
  "rep_phone": "Smith",
  "rep_email": "jane.smith@digicert.com",
  "balance_negative_limit": 0,
  "pricing_model": "flatfee",
  "cert_transparency": "embed",
  "cert_central_type": "retail"
}

Response parameters

NameTypeDescription
idintAccount ID.
make_renewal_callsboolSpecifies if renewal calls are enabled.
express_install_enabledboolSpecifies if express install is enabled.
admin_emailstringEmail address(es) copied on all emails sent out for the account.
display_repboolSpecifies if the account manager is displayed in the CertCentral UI.
rep_namestringName of your account manager.
rep_phonestringPhone number of your account manager.
rep_emailstringEmail address of your account manager.
balance_negative_limitintDollar amount that the account balance can go into the negative.
pricing_modelstringCurrent pricing model for the account.
Possible values: flatfee, percert, combined, none
cert_transparencystringSpecifies if certificates are logged to public CT logs.
Possible values: embed (logged), off (not logged)
cert_central_typestringCertCentral account type.
Possible values: retail, enterprise, reseller
is_reseller_customerboolReturns true if this subaccount or any of its parent accounts have an account type of reseller. Otherwise, false. Only returned if the API key in the request header belongs to a user in: