Genehmiger auflisten

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 objects with information about the users that can become a verified contact for an EV order.
.. user_id string ID of the user.
.. name string Name of the user.
.. first_name string First name of the user.
.. last_name string Last name of the user.
.. job_title string Job title of the user.
.. telephone string Telephone number of the user.
.. email string Email address of the user.
contacts array List of objects with information about the contacts that can become a verified contact for an EV order.
.. name string Name of the contact.
.. first_name string First name of the contact.
.. last_name string Last name of the contact.
.. job_title string Job title of the contact.
.. telephone string Telephone number of the contact.
.. email string Email address of the contact.