Skip to main content

Header Reseller Branding

  • Home
  • Frequently Asked Questions
    • Logging into the Control Panel
    • Changing Name Servers of a Domain Name
    • Managing DNS Resource Records
    • Using the Web Hosting Service
    • Explaining Domain (Transfer) Secret or Authorization (Auth) Code and How to Obtain it from your Current Registrar?
    • Transferring a Domain Name from Another Registrar to Answerable.com
    • Domain / URL Forwarding
    • Customer Control Panel Guide
    • Registering and Managing Child Name Servers
    • Using the DNS Service
    • DNS and types of Resource Records Answerable.com allows
    • Using the Free Email Service
    • Listing, Searching and Managing Domain Name Registration Orders
    • Uploading Content to your Website
    • Moving or Pushing a Domain Name from one Customer Control Panel to another
    • What are the permitted Countries of Operation?
  • Logging into the Control Panel
  • Domain Names
    • Listing, Searching and Managing Domain Registration Orders
    • Changing Name Servers of a Domain Name
    • Managing Whois or Contact Details of Domain Names
      • Modifying the Whois (Contact Details) of Domain Names
      • Modifying the Whois / Contact Details of a .UK Domain Name
      • Managing Contacts from within the Customer Control Panel
      • Hiding Contact Details through Privacy Protection in the Whois of a Domain Name
        • Defining Privacy Protection
        • How can People Contact you if you Enable Privacy Protection for your Domain Name?
        • Purchasing / Renewing Privacy Protection
        • Enabling/Disabling Privacy Protection for a Domain Name
        • How can you Enable/Disable Privacy Protection of Multiple Domain Names?
      • Resellers: Controlling the display of your Brand Name in the Whois Lookup Results for .COM / .NET Domain Names
      • Checking the Whois for a Domain Name
      • Hiding/Publishing Registrant Organization in the Whois of a Domain Name
      • Hiding/Publishing Contact Details in the Whois of a .TEL Domain Name
      • Hiding/Publishing Contact Details in the Whois of a .CA Domain Name
    • Hiding Contact Details through Privacy Protection, in the Whois of a Domain Name
    • GDPR
      • What is GDPR?
      • Managing GDPR Protection settings
    • Transferring a Domain Name
      • Confirming if a Domain Name can be Transferred
      • Transferring a Domain Name from Another Registrar to Answerable.com
        • Explaining Domain (Transfer) Secret or Authorization (Auth) Code and How to Obtain it from your Current Registrar?
        • Transferring your Domain Name
        • Transferring a .UK Domain Name
        • Bulk Transfer
        • Cancelling a Domain Name Transfer
        • Important - Domain Name Transfer Caveats
      • Transferring a Domain Name from Answerable.com to Another Registrar
        • Transferring a Domain Name to Another Registrar
        • Transferring a .UK Domain Name to Another Registrar
        • IMPORTANT: Domain Name Transfer Caveats
        • Fast Transfer
          • What is fast transfer?
          • How do I opt-in my domain name for Fast Transfer?
          • How do I find and opt-out names from the Fast Transfer service?
      • Domain Name Transfer Caveats
        • Understanding the Status of a Domain Name Transfer
        • Lost One Year when Transferring a Domain Name from One Registrar to Another
        • Domain Name Transfer Completed but Domain Name is Still Inactive
      • Locating and Modifying the Domain (Transfer) Secret/Authorization Code for a Domain Name
    • Deleting a Domain Name
    • Protecting/Locking a Domain Name
    • Domain Protect+
    • Registering and Managing Child Name Servers
    • Suspending / Unsuspending Domain Names
      • Suspending / Unsuspending a Domain Name
      • Bulk Suspension / Unsuspension of Domain Names
    • Renewing Domain Names
      • Renewing a Domain Name
      • Bulk Renewal of Domain Names
      • Understanding Domain Name Expiry and Display of a Parking Page
    • Domain Name System Security Extensions (DNSSEC)
      • What is DNSSEC?
      • Adding Delegation Signer (DS) Records
      • TLDs supporting DNSSEC
    • Domain Name Registration Default Settings
    • Viewing Action History
    • Restoring a Deleted Domain Name from the Redemption Grace Period
    • Domain Name Registration Caveats
      • Overview of TLDs (Domain Name Extensions)
      • Interpreting Domain Name Check Availability Results
      • Interpreting Order Locked In Processing Messages
      • Support for Internationalized Domain Names (IDN)
      • .ASIA Domain Name Rules/Requirements
      • .CA Domain Name Rules/Requirements
      • .CO Domain Name Rules/Requirements
      • Understanding .EU Domain Names
        • .EU Domain Name Rules/Requirements
        • Understanding .EU Domain Name Contacts
      • .JOBS Domain Name Rules/Requirements
      • .ME Domain Name Rules/Requirements
      • .MOBI Domain Name Rules/Requirements
      • .NAME Domain Name Rules/Requirements
      • .NZ Domain Name Rules/Requirements
      • .PRO Domain Name Rules/Requirements
      • .PW Domain Name Rules/Requirements
      • .SC Domain Name Rules/Requirements
      • .TEL Applications
      • .TEL Domain Name Rules/Requirements
      • .UK Domain Name Rules/Requirements
      • .US Domain Name Rules/Requirements
      • .VC Domain Name Rules/Requirements
      • .CO.ZA Domain Name Rules/Requirements
      • .IN Restricted Email List
      • Identifying CentralNic Domains
      • Premium Domains
      • Sunrise Period
      • Identifying New gTLD Extensions
      • New gTLD Wishlist
    • Whois Data Verification
    • Whois Data Reminders
    • DNS
    • Domain / URL Forwarding
    • Domains Product Maintenance Notices
  • Hosting
    • Single Domain Linux Hosting
      • Accessing your Single Domain Linux Hosting Package
      • IMPORTANT: cPanel Single Domain Linux Hosting Package User Guide
      • RESELLERS: Read this to Setup your Single Domain Linux Hosting Business
    • Single Domain Windows Hosting
      • Accessing your Single Domain Windows Hosting Package
      • IMPORTANT: Plesk Single Domain Windows Hosting Package User Guide
      • RESELLERS: Read this to Setup your Single Domain Windows Hosting Business
    • Legacy Web Hosting
      • Using the Web Hosting Service
      • Listing, Searching and Managing Web Hosting Orders
      • Web Hosting Service Guide
        • How can I view my website in a browser if my domain is pointing elsewhere?
        • SSL
          • Issues that Digital Certificates Address
          • Activate SSL for your Hosting Package
          • Certificate Authority
          • Generating a Certificate Signing Request (CSR)
          • Installing your Digital Certificate
          • Generating a Self-signed Certificate
          • Uninstalling your Digital Certificate
          • Installing your Intermediate CA Certificate or CA Bundle
        • Back-up your Website
          • Adding a Backup Policy
          • Listing/Modifying and Deleting Backup Policies
        • Domain Aliases
          • Domain Alias
          • Adding Domain Aliases
        • Managing your Plesk Windows Hosting package
          • Accessing/Managing your Plesk Windows Hosting package
          • IMPORTANT: Plesk Windows Hosting package User Guide
        • Managing your cPanel Linux Hosting package
          • Accessing/Managing your cPanel Linux Hosting package
          • IMPORTANT: cPanel Linux Hosting package User Guide
          • Migrating your cPanel Linux Hosting package from another Web Hosting company to Answerable.com
      • Upgrading / Downgrading a Web Hosting Order
      • Legacy Web Hosting Deprecation
      • DNS for Web Hosting
    • Sample Scripts
      • Linux Hosting related Scripts
        • PHP-based Form Mail (Feedback) Script
        • Perl-based Form Mail (Feedback) Script
        • PHP Script to Test MySQL Database Connectivity
      • Windows Hosting related Scripts
        • Collaboration Data Objects (CDO)
        • ASP Script to Test MSSQL Database Connectivity
    • Uploading Content to your Website
      • Configuring and using various FTP Clients
        • Should I use Active or Passive mode for FTP?
        • Using FTP software to manage your Content
          • CuteFTP
          • Core FTP
          • SmartFTP
          • WinSCP
          • FileZilla
      • File/Folder Permissions and Groups
      • Do you allow Anonymous FTP?
    • Email Hosting
      • Using the Email Hosting service
      • Email Administrator's Guide - Create and Manage Accounts
        • Managing Mailing Lists
      • Email User's Guide - Access your Email
        • Configuring different Email Clients to send/receive Email
        • Accessing your Email from the Webmail Interface
        • Auto-responders
      • Email Hosting Caveats
        • File extensions that are not allowed as attachments
      • DNS for Email Hosting
      • Domain / URL Forwarding for Email Hosting
      • Personal Email Deprecation
    • Website Builder
      • Setting up your Website Builder Order
      • RESELLERS: Read this to Setup your Website Builder Business
      • DNS for Website Builder
    • Hosting Caveats
      • Purchasing a Hosting Order for Internationalized Domain Name (IDN)
      • Modifying the hosts file
      • Ports open for outgoing connections
      • Debugging Perl/CGI Scripts
      • SMTP Server settings for sending mails through your website
      • Switching PHP Version
      • Shared Hosting Limitations
      • SSH Access
      • SymLinks Settings of cPanel Linux Hosting packages
      • Creating and Restoring Backups in cPanel
      • Creating and Restoring Backups
      • Restriction on upload of executable files under Windows Hosting
      • HTTP to HTTPS Redirection - Apache
      • HTTP to HTTPS Redirection - IIS
      • How do I set the default page?
      • How do I unblock port 80/443 ?
      • How do I add custom error pages for Linux hosting?
      • How do I add custom error pages for Windows hosting?
      • Enable Cloudflare on cPanel
      • Varnish
      • How do I change the Primary domain of my hosting plan?
      • Managing registered email address for scripts
      • Unblocking Email Accounts in cPanel
  • Order Management
    • Listing, Searching and Managing your Orders
    • Locating the Name Servers or DNS Records to Use
    • Directory and File Structure - Linux
    • Directory and File Structure - Windows
    • Enabling SSL or a Dedicated IP Address
    • Renewal Reminder for Orders
    • Renewing, Deleting your Order
    • Upgrading / Downgrading an Order
    • Suspending / Unsuspending an Order
    • Moving or Pushing an Order from one Customer Control Panel to another
    • Bulk Actions
      • Registering Domain Names in Bulk
      • Transferring Domain Names in Bulk
      • Renewing Orders in Bulk
      • Suspending or Unsuspending Orders in Bulk
      • Locking or Unlocking Domain Names in Bulk
      • Modifying Name Servers in Bulk
      • Modifying Contacts in Bulk
      • Enabling / Disabling Theft Protection in Bulk
      • Privacy Protecting Domain Names in Bulk
      • Moving Domain Names in Bulk
      • Listing All Running Bulk Actions
  • DNS
    • DNS and types of Resource Records Answerable.com allows
    • Using the DNS Service
    • Locating the DNS Service Interface
    • Managing DNS Resource Records
    • DNS Caveats
      • No NS A records at Nameservers Failure Message
  • Accessing your Domain Backorder
  • Domain Backorder Setup Guide
  • FAQ
  • Domain / URL Forwarding
    • Using the Domain Forwarding Service
    • Locating the Domain Forwarding Service Interface
    • Managing the Domain Forwarding Service
    • Domain / URL Forwarding Caveats
      • No NS A records at Nameservers Failure Message
  • Free Email Service
    • Using the Free Email Service
    • Locating the Free Email Service Interface
    • Managing the Free Email Service
    • Free Email Service Caveats
      • No NS A records at Nameservers Failure Message
  • Customer Control Panel Guide
    • Creating a Demo Customer Account
    • Logging into the Control Panel
    • Your Profile and Settings
      • Changing your Control Panel Username, Mobile Number and other Contact Details
      • Changing your Control Panel Password
      • Changing your Personal Identification Number (PIN)
      • Setting your Email Preferences
      • Setting your SMS Preference
      • Setting your Language Preferences
    • 2-Step Verification
      • FAQs
      • How do I enable 2-Step Verification?
      • How do I disable 2-Step Verification?
    • Manage Billing
      • Adding Funds in your Debit Account
      • Executing an Order / Balancing an Invoice or Debit Note
      • Cancelling an Order / Invoice
      • Requesting Refund from Answerable.com
      • Listing / Searching your Transactions
      • Locked Funds
      • EU VAT FAQs
      • Service Tax FAQs
      • GST FAQs
      • VAT for Russia FAQs
    • Listing All Orders under your Customer Account
    • Viewing your Login History
    • Viewing all important Announcements posted in your Control Panel
    • Customer Control Panel Caveats
      • Restriction on Change of Country and Legal Name
      • Session Timeout

Add Contact

Description

Adds a Contact to the domain using the details provided.

Parameters

Answerable.com
Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
name String Required

Name of the Contact

Note
  • Max length 255 characters (general) or 50 characters (.EU)

company String Required

Name of the Company

Note
  • Max length 255 characters (general) or 100 characters (.EU)

  • In case of EuContact, if there is no associated Company, you may mention NA for this parameter.

  • the contact ID created for a natural person should have the company name listed as 'N/A'
email String Required Email address of the Contact
address-line-1 String Required First line of address of the Contact
Note
  • Max length 64 characters

  • For NycContact Contact type, a physical street address in the New York City must be provided.

city String Required Name of the City
Note

Max length 64 characters

country String Required

Country code as per ISO 3166-1 alpha-2

Note

For UkServiceContact Contact type, the country code can only be GB (United Kingdom), IM (Isle of Man), JE (Jersey) or GG (Guernsey).

zipcode String Required ZIP code
Note

Max length 10 characters (general) or 16 characters (.EU)

Attention

ZIP Code will be validated against the Country selected during the contact create process. An invalid zipcode will return an error message.

phone-cc String Required Telephone number country code
Note

Between 1-3 digits

Attention

Only valid telephone number country code will be accepted.

phone String Required Telephone number
Note

Between 4-12 digits

customer-id Integer Required The Customer under whom you want to create the Contact
type String Required

The Contact Type. This can take following values:

  • Contact

  • CaContact

  • CoContact

  • EuContact

  • UkContact or UkServiceContact

address-line-2 String Optional Second line of address of the Contact
address-line-3 String Optional Third line of address of the Contact
state String Required

Name of the State

Note
  • Max length 64 characters

fax-cc String Optional Fax number country code
Note

Between 1-3 digits

fax String Optional Fax number
Note

Between 4-12 digits

attr-name Map[name] Optional Mapping key of any extra information to be associated for the contact that is being added. Refer the description of attr-value.
attr-value Map[value] Required

Mapping value of the extra details required to be associated with a particular Contact before registering a domain name. This together with attr-name shall contain the extra details.

  • To associate the Contact with a .ASIA domain name, the input can be:

    attr-name1=locality&attr-value1={Two-lettered Country code} attr-name2=legalentitytype&attr-value2={naturalPerson | corporation | cooperative | partnership | government | politicalParty | society | institution | other} attr-name3=otherlegalentitytype&attr-value3={Mention legal entity type. Mandatory if legalentitytype chosen as 'other'} attr-name4=identform&attr-value4={passport | certificate | legislation | societyRegistry | politicalPartyRegistry | other} attr-name5=otheridentform&attr-value5={Mention Identity form. Mandatory if identform chosen as 'other'} attr-name6=identnumber&attr-value6={Mention Identification Number}]

    Note

    This information can be associated with any one of the Contacts of the domain name.

  • To associate the Contact with a .CA domain name, the input can be:

    • attr-name1=CPR&attr-value1={Three-letter CPR code mentioned below}
      CPR Description Type
      CCO Corporation (Canada or Canadian province or territory) Non-individual
      CCT Canadian citizen Individual
      RES Permanent Resident of Canada Individual
      GOV Government or government entity in Canada Non-individual
      EDU Canadian Educational institution Non-individual
      ASS Canadian Unincorporated Association Non-individual
      HOP Canadian Hospital Non-individual
      PRT Partnership Registered in Canada Non-individual
      TDM Trade-mark registered in Canada (by a non-Canadian owner) Non-individual
      TRD Canadian Trade union Non-individual
      PLT Canadian Political party Non-individual
      LAM Canadian Library, Archive or Museum Non-individual
      TRS Trust established in Canada Non-individual
      ABO Aboriginal Peoples (individuals or groups) indigenous to Canada Individual
      INB Indian Band recognized by the Indian Act of Canada Non-individual
      LGR Legal Representative of a Canadian Citizen or Permanent Resident Individual
      OMK Official mark registered in Canada Non-individual
      MAJ Her Majesty the Queen Non-individual
    • attr-name2=AgreementVersion&attr-value2={Value of the GetRegistrantAgreement version}
    • attr-name3=AgreementValue&attr-value3={'y' indicating that the Registrant has agreed to the .CA Registrant Agreement}
      Note

      This information should be associated with the Registrant Contact of the domain name.

  • You need to pass the country of citizenship if the registrant is an individual/natural person and the country of residence is not one of the EU/EEA countries or in EU territories:

    attr-name1=countryOfCitizenship&attr-value1={Two-lettered country code}

    Note

    List of two-letter country codes

    • AT,BE, BG, CY, CZ, DE, DK, ES, EE, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK
  • To associate the Contact with a .JOBS domain name, the input can be:

    attr-name1=title&attr-value1={Title of the Contact in the Company} attr-name2=website&attr-value2={Company Website} attr-name3=industry_type&attr-value3={Type / Classification of the industry in which the company conducts its business} attr-name4=is_admin_contact&attr-value4={true | false} attr-name5=is_association_member&attr-value5={true | false}

    Note

    This information has to be associated with all Contacts of the .JOBS domain name.

  • To associate the Contact with a .US domain name:

    • Pipe-separated values are the Registry defined constants. Select any one of the given set of values.

      You have to mention the values where the set of pre-defined values are not provided.

      Example:

      attr-name1=purpose&attr-value1={P1 | P2 | P3 | P4 | P5}&attr-name2=category&attr-value2={C11 | C12 | C21 | C31 | C32}]

    • Following is the mapping of the .US Nexus Category (category):

      • C11: A natural person who is a United States citizen.

      • C12: A natural person who is a permanent resident of the United States of America, or any of its possessions or territories.

      • C21: A US-based organization or company (A US-based organization or company formed within one of the fifty (50) U.S. states, the District of Columbia, or any of the United States possessions or territories, or organized or otherwise constituted under the laws of a state of the United States of America, the District of Columbia or any of its possessions or territories or a U.S. federal, state, or local government entity or a political subdivision thereof).

      • C31: A foreign entity or organization (A foreign entity or organization that has a bona fide presence in the United States of America or any of its possessions or territories who regularly engages in lawful activities (sales of goods or services or other business, commercial or non-commercial, including not-for-profit relations in the United States)).

      • C32: Entity has an office or other facility in the United States.

    • Following is the mapping of the .US Nexus Application Purpose (purpose):

      • P1 : Business use for profit.

      • P2: Non-profit business, club, association, religious organization, etc.

      • P3: Personal use.

      • P4: Education purposes.

      • P5: Government purposes

      Note

      This information has to be associated with the Registrant Contact of the domain name.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/contacts/add.json?auth-userid=0&api-key=key&name=abc&company=company&[email protected]&address-line-1=address1&city=city&country=nn&zipcode=0&phone-cc=0&phone=0&customer-id=0&type=Contact

Response

Returns the Contact Id (Integer) of newly added Contact. Multiple Contacts can be added for the same Name and Company Name behavior.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Sample error message when Single Field is invalid {"status":"ERROR","message":"{telnocc=TelephoneNo Country Code is invalid}"}

Sample error message when Multiple Fields are invalid {"status":"ERROR","message":"{telnocc=TelephoneNo Country Code is invalid, zip=Postal Code is invalid}"}