List approvers

GET
https://www.digicert.com/services/v2/organization/potential-approvers

Use this endpoint to list all users and contacts that can be validated as a verified contact (also called an EV approver).

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

url = "https://www.digicert.com/services/v2/organization/potential-approvers"

payload = ""
headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"
    }

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

print(response.text)
Go
package main

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

func main() {

	url := "https://www.digicert.com/services/v2/organization/potential-approvers"

	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))

}
NodeJS
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/organization/potential-approvers',
  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
{
  "users": [
    {
      "user_id": "123456",
      "name": "Jane Doe",
      "first_name": "Jane",
      "last_name": "Doe",
      "job_title": "Boss",
      "telephone": "555-555-5555",
      "email": "jane.doe@digicert.com"
    },
    {
      "user_id": "123455",
      "name": "John Smith",
      "first_name": "John",
      "last_name": "Smith",
      "job_title": "Employee",
      "telephone": "555-555-5555",
      "email": "john.smith@digicert.com"
    }
  ],
  "contacts": [
    {
      "name": "Jill Valentine",
      "first_name": "Jill",
      "last_name": "Valentine",
      "job_title": "SRE",
      "telephone": "555-555-5555",
      "email": "jill.valentine@example.com"
    },
    {
      "name": "Leon Kennedy",
      "first_name": "Leon",
      "last_name": "Kennedy",
      "job_title": "Help Desk Technician",
      "telephone": "555-555-5555",
      "email": "leon.kennedy@example.com"
    }
  ]
}

Response parameters

Name Type Description
users array List of user that can become a verified contact for an EV order.
.. user_id string
.. name string
.. first_name string
.. last_name string
.. job_title string
.. telephone string
.. email string
contacts array List of contacts that can become a verified contact an EV order.
.. name string
.. first_name string
.. last_name string
.. job_title string
.. telephone string
.. email string