Get Certificate Request Status

Retrieve status information for your certificate request. This includes:

Request

Use the following endpoint to retrieve certificate request status information:

HTTP Method Request URI

GET

https://api.vdms.io/sec/cps/v2.0/certificates/Certificate Request ID/status

Define the following variable 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

Certificate Request ID

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.

Request Headers

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

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

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 order status information for the current certificate request.

@type

String

Returns Certificate.

id

Integer

Indicates the system-defined ID assigned to this certificate.

step

Integer

Indicates the order's current step in the certificate provisioning workflow.

Example:

This property returns 3 when a certificate order is currently in step 3. Domain Validation (DCV).

status

String

Indicates the status for this certificate request.

Use the Get Certificate Request Statuses endpoint to retrieve all available certificate request statuses.

order_validation

Object

Contains order status information for this certificate request.

requires_attention

Boolean

Indicates whether this certificate request requires your attention before it can proceed to the next step.

error_message

String

Indicates the reason why an error occurred. Returns a null value if an error has not occurred.

order_validation Object

The order_validation object describes order status information for this certificate request through the following properties:

Name Data Type Description

status

String

Indicates the status for this certificate order.

Use the Get Certificate Order Statuses endpoint to retrieve all available certificate order statuses.

organization_validation

Object

Indicates the requested certificate's validation level and its status.

domain_validations

Array of objects

Contains the domains associated with this certificate request and their current domain control validation status.

organization_validation Object

The organization_validation object describes the requested certificate's validation level and its status through the following properties:

Name Data Type Description

validation_type

String

Indicates the validation level for the requested certificate.

Use the Get Certificate Validation Levels endpoint to retrieve a list of validation levels.

status

String

Indicates the organization validation status for EV and OV certificates.

Use the Get Validation Statuses endpoint to retrieve all available organization validation statuses.

Returns NA for DV certificates.

domain_validations Array

The domain_validations array describes each domain associated with this certificate request and its current domain control validation status through the following properties:

Name Data Type Description

domain_id

Integer

Indicates the system-defined ID for a domain associated with this certificate request.

status

String

Indicates the current domain control validation (DCV) status for the domain identified within the domain_names array.

Use the Get Validation Statuses endpoint to retrieve all available DCV statuses.

domain_names

Array of string values

Indicates the domain name.

Errors

The response body for an unsuccessful request will contain an error response that provides additional information.

Sample Request and Response

A sample JSON request is shown below.

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: 479

{
	"@id": "/v2.0/certificates/11400",
	"@type": "Certificate",
	"id": 11400,
	"step": 5,
	"status": "Active",
	"order_validation": {
		"status": "Issued",
		"organization_validation": {
			"validation_type": "OV",
			"status": "Approved"
		},
		"domain_validations": [{
				"domain_id": 22333,
				"status": "Approved",
				"domain_names": ["functions.example.com"]
			}
		]
	},
	"requires_attention": false,
	"error_message": null
}