Get ACME contract details

GET https://www.digicert.com/partner-subscription/api/v1/acme/{{acme_contract_id}}

Use this endpoint to retrieve details of an existing ACME contract.

The response includes contract details such as the product identifier, SANs, contract expiration date, auto-renewal status, cancellation status, and organization validation status. For OV and EV products, the response includes organization details.

Example requests and responses

curl -X GET \
  https://www.digicert.com/partner-subscription/api/v1/acme/12345 \
  -H 'X-PARTNER-APIKEY: {{subaccount_partner_api_key}}'
import requests

url = "https://www.digicert.com/partner-subscription/api/v1/acme/12345"

headers = {
    'X-PARTNER-APIKEY': "{{subaccount_partner_api_key}}"
    }

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

print(response.text)
package main

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

func main() {

	url := "https://www.digicert.com/partner-subscription/api/v1/acme/12345"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-PARTNER-APIKEY", "{{partner_api_key}}")

	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/partner-subscription/api/v1/acme/12345',
  headers: {
    'X-PARTNER-APIKEY': '{{partner_api_key}}'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});

200 OK

{
  "acme_contract_id": 12345,
  "account_id": 67890,
  "product_name_id": "ssl_dv_rapidssl",
  "created_at": "2025-01-29T10:30:00Z",
  "sans": [
    "example.com",
    "www.example.com",
    "*.example.com"
  ],
  "valid_till": "2027-01-29T10:30:00Z",
  "organization": null,
  "is_organization_validated": false,
  "auto_renew": false,
  "date_canceled": null
}
{
  "acme_contract_id": 12345,
  "account_id": 67890,
  "product_name_id": "ssl_basic",
  "created_at": "2025-01-29T10:30:00Z",
  "sans": [
    "example.com",
    "www.example.com"
  ],
  "valid_till": "2027-01-29T10:30:00Z",
  "organization": {    
    "name": "Example Corporation",
     "assumed_name": "Example Corp",
    "address": "123 Main Street",
    "address2": "Suite 500",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94105",
    "country": "US",
    "telephone": "+1-555-0100"    
  },
  "is_organization_validated": true,
  "auto_renew": false,
  "date_canceled": null
}
{
  "acme_contract_id": 12346,
  "account_id": 67890,
  "product_name_id": "ssl_ev_basic",
  "created_at": "2025-01-29T10:30:00Z",
  "sans": [
    "secure.example.com",
    "www.secure.example.com"
  ],
  "valid_till": "2027-01-29T10:30:00Z",
  "organization": {    
    "name": "Example Corporation",
     "assumed_name": "Example Corp",
    "address": "123 Main Street",
    "address2": "Suite 500",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94105",
    "country": "US",
    "telephone": "+1-555-0100"    
  },
  "is_organization_validated": true,
  "auto_renew": false,
  "date_canceled": null
}

URL path and query parameters

NameReq/OptTypeDescription
acme_contract_idrequiredintegerUnique identifier of the ACME contract.

Request parameters

This endpoint does not use request body parameters.

Response parameters

NameTypeDescription
acme_contract_idintegerUnique identifier for the ACME contract.
account_idintegerIdentifier of the account associated with the ACME contract.
product_name_idstringProduct identifier for the certificate type.
created_atstringContract creation date in ISO 8601 format.
sansarray[string]Active Subject Alternative Names associated with the ACME contract.
valid_tillstringContract expiration date in ISO 8601 format.
organizationobject|nullOrganization details associated with the ACME contract. Returns null for DV products.
.. assumed_namestringAssumed name or public name of the organization. Also called Doing Business As (DBA) name.
.. namestringLegal organization name.
.. addressstringStreet address of the organization.
.. address2stringAdditional address information, such as suite, floor, or unit.
.. citystringCity where the organization is located.
.. statestringState or province where the organization is located.
.. zipstringPostal or ZIP code of the organization.
.. countrystringTwo-letter country code for the organization.
.. telephonestringOrganization phone number.
is_organization_validatedbooleanIndicates whether the organization has valid OV or EV validation matching the contract product type.
auto_renewbooleanIndicates whether auto-renewal is enabled for the ACME contract.
date_canceledstring|nullDate the contract was canceled in ISO 8601 format. If the contract is active, the response displays null.