Retrieve the following domain control validation (DCV) for a specific certificate request:
OV and EV Certificates
DNS CNAME: Returns the token that should be applied to the name of the CNAME record for the SAN(s) defined in the request.
Retrieve a certificate's DCV metadata through the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/sec/cps/v2.0/dcv/certificates/Certificate Request ID?domain_ids=Domain IDs |
Define the following variables when submitting the above request:
VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). | Description |
---|---|
Required |
Replace this variable with the system-defined ID for the desired certificate request. Use the Get All Certificate Requests endpoint to retrieve a list of certificate requests and their system-defined ID. |
Required for DNS Text and DNS CNAME DCV Replace this variable with a comma-delimited list of system-defined IDs for the desired domains associated with the specified certificate request. Use the Get Certificate Request endpoint to retrieve the domains associated with a specific certificate request. Example: ?domain_ids=12345,12346
|
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request (200 OK) contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id |
String |
Indicates the relative path to an endpoint through which you may retrieve the current certificate request's DCV metadata. |
@type |
String |
Returns Collection. |
items |
Array of objects |
Returns a certificate request's DCV metadata. |
The items array describes a certificate request's DCV metadata through the following properties:
Name | Data Type | Description |
---|---|---|
dcv_token |
String / Object |
This property's data type varies according to the certificate request's DCV method.
|
domain_id |
Integer |
Indicates the system-defined ID for a domain associated with a certificate request. |
dcv_method |
String |
Indicates the certificate request's domain control validation method. |
emails |
Array of string values |
Email only Contains a list of email addresses to which DCV instructions will be sent. |
The dcv_token object describes DCV metadata for the domain identified by the domain_id property.
Name | Data Type | Description |
---|---|---|
token |
String |
Indicates the token value through which you may prove control over a specific domain. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/sec/cps/v2.0/dcv/certificates/11500?domain_ids=22333 HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 348
{ "@id": "/v2.0/dcv/certificates/11500", "@type": "Collection", "items": [{ "dcv_token": { "token": "23f5zhv4k7pz4zxx3h1jy2ykjmf5hnx8" }, "domain_id": 22333, "dcv_method": "DnsCnameToken" } ] }