Metaregistrar EPP documentation

Login to EPP

When you have received the greeting, you can then send a login message.

Please make sure your extensions and objURI elements match those of our EPP server. You may specify less extensions if you do not use them, but it is not possible to specify extensions that are not mentioned in the EPP greeting.

Login command

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <login> <clID>mycompanyloginname</clID> <pw><![CDATA[mypassword]]></pw> <options> <version>1.0</version> <lang>en</lang> </options> <svcs> <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI> <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <svcExtension> <extURI>http://www.metaregistrar.com/epp/polldata-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/command-ext-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/command-ext-domain-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/command-ext-contact-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/command-ext-host-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/ext-1.0</extURI> <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI> </svcExtension> </svcs> </login> <clTRID>56f256e007b2e</clTRID> </command> </epp> You will then receive a "command completed successfully" (code 1000) response if you were logged in, or an error, for example "Invalid authorization information" (code 2202) message if the login is invalid.



Changing your password

It is possible to alter your EPP password during login. Please note that after altering your password the system logs you out automatically and you will have to re-login with the new password.

<?xml version="1.0" encoding="UTF-8"?> <epp> <command> <login> <clID>mycompanyloginname</clID> <pw><![CDATA[my-old-password]]></pw> <newPW><![CDATA[my-new-password]]></newPW> <options> <version>1.0</version> <lang>en</lang> </options> <svcs> <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI> <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI> <objURI>urn:ietf:params:xml:ns:host-1.0</objURI> <svcExtension> <extURI>http://www.metaregistrar.com/epp/polldata-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/command-ext-1.0</extURI> <extURI>http://www.metaregistrar.com/epp/ext-1.0</extURI> </svcExtension> </svcs> </login> <clTRID>MTR-12345</clTRID> </command> </epp>

You will then receive the following message and be disconnected. Note the result code 1500 indicating that the command was succesful but the session is ended.

<?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1500"> <msg>Command completed successfully; ending session</msg> </result> <trID> <clTRID>MTR-12345</clTRID> <svTRID>asdfghjklasdfghjklasdfghjkl</svTRID> </trID> </response> </epp>