Contact check
Asks whether a contact id is free. Changes nothing, costs nothing.
Request
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<check>
<contact:check xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:id>EXAMPLE-1-C1</contact:id>
<contact:id>EXAMPLE-1-C2</contact:id>
</contact:check>
</check>
<clTRID>EXAMPLE-1-cchk-0001</clTRID>
</command>
</epp>
Response
<resData>
<contact:chkData xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
<contact:cd><contact:id avail="1">EXAMPLE-1-C1</contact:id></contact:cd>
<contact:cd>
<contact:id avail="0">EXAMPLE-1-C2</contact:id>
<contact:reason>in use</contact:reason>
</contact:cd>
</contact:chkData>
</resData>
What this is for
Contact ids are unique across the whole registry, not just across your account — so avail="0" may mean another registrar took the id, not that you already created it. You cannot see their contact and you cannot use their id.
That is the reason for a namespaced scheme of your own (EXAMPLE-1-C1) rather than something guessable. If you would rather not manage ids at all, let the registry allocate them: contact create explains how.
Result codes
| Code | When |
|---|---|
1000 | answered — read avail for each id |
2001 | more ids than the check limit allows |
On this page