Domain > Contact

List Contacts

List all Contacts

get/2/domains/accounts/{account}/contacts

Path parameters

accountstring required

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

domainstring

Filter contacts associated with a specific domain

Example:example.com
emailstring

Filter contacts by email address

Example:contact@example.com

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": [
    {
      "address_type": "loc",
      "first_name": "John",
      "last_name": "Doe",
      "company": "Infomaniak",
      "street1": "Rue Eugène Marziano 25",
      "street2": "Batiment 43",
      "street3": "Etage 3",
      "postal_code": "1227",
      "city": "Les Acacias",
      "state": "Genève",
      "country_code": "CH",
      "id": 12345,
      "type": "Organization",
      "phone": "+41.223456789",
      "fax": "+41.223456790",
      "email": "contact@mydomain.ch",
      "validated_at": 1702908000,
      "created_at": 1702908000,
      "pending_modification": {
        "created_at": 1702908000,
        "associated_domains": [
          {
            "id": 1,
            "name": "mydomain.ch"
          }
        ],
        "associated_domains_count": 5000
      },
      "associated_domains": [
        {
          "id": 1,
          "name": "mydomain.ch"
        }
      ],
      "associated_domains_count": 5000
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.