List billing contacts


Use this endpoint to list billing contacts that have been saved to your account.

curl -X GET \ \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = ""

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

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

package main

import (

func main() {

	url := ""

	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)


var request = require("request");

var options = { method: 'GET',
  url: '',
   { 'Content-Type': 'application/json',
     'X-DC-DEVKEY': '{{api_key}}' } };

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

200 OK
  "billing_contacts": [
      "name": "Jimmy Smith",
      "address": "123 Fake Street",
      "city": "Lehi",
      "state": "ut",
      "zip": "84043",
      "country": "us",
      "email": "",
      "phone": "8017019601",
      "container_id": 112233
      "name": "Janna Roe",
      "address": "126 Fake Street",
      "city": "Orem",
      "state": "Utah",
      "zip": "84043",
      "country": "us",
      "email": "",
      "phone": "8017019601",
      "is_default_contact": true

URL query strings

Name Req/Opt Type Description
container_id optional int Filter results to the specified container.

Response parameters

Name Type Description
billing_contacts array List of returned billing contacts.
.. name string Name of the billing contact.
.. address string Address of the billing contact.
.. city string City of the billing contact.
.. state string State of the billing contact.
.. zip string Zip code of the billing contact.
.. country string Country of the billing contact.
.. email string Email address of the billing contact.
.. phone string Telephone number of the billing contact.
.. container_id int Container that the billing contact is associated with.
This parameter is omitted for the default billing contact.
.. is_default_contact bool Specifies if the contact is the default billing contact for the account.
Only one default billing contact is allowed.