Message queue
In EPP the server never sends anything of its own accord: you send a command, the server answers, and that is the only direction. The message queue is where the registry leaves everything it has to tell you — a transfer somebody requested for a name of yours, the outcome of an operation that does not finish at once, an approaching expiry, a low balance. It waits there until you read it, and there is nowhere else it appears.
Read it on a schedule. Several things in this protocol have deadlines that run whether or not you are listening: an incoming transfer request approves itself if you say nothing. So a queue nobody drains does not show up as an error — it shows up as a domain you no longer sponsor, with clean logs all the way.
Two operations
<poll op="req"/> | show me the oldest message. Does not remove it |
<poll op="ack" msgID="…"/> | remove that message |
The queue is strictly oldest-first, and req keeps returning the same message until you ack it. That is deliberate: a message you failed to process is still there after your client restarts.
Reading — op="req"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<poll op="req"/>
<clTRID>EXAMPLE-1-0100</clTRID>
</command>
</epp>
A message is waiting — 1301:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1301">
<msg>Command completed successfully; ack to dequeue</msg>
</result>
<msgQ count="3" id="10021">
<qDate>1970-01-01T00:00:00.000+03:00</qDate>
<msg>Transfer requested for example.com.ua</msg>
</msgQ>
<resData> ... </resData> <!-- the typed payload, when the message has one -->
<trID>
<clTRID>EXAMPLE-1-0100</clTRID>
<svTRID>NSPC-19700101000000-7F2A91C3B4D0</svTRID>
</trID>
</response>
</epp>
count— how many messages remain including this one. When it reaches 1 and you ack it, the queue is empty.id— the value you pass toack.qDate— when it was queued, in Kyiv time with the offset.<resData>— the machine-readable payload. Read this, not the<msg>prose.
The queue is empty — 1300:
<response>
<result code="1300">
<msg>Command completed successfully; no messages</msg>
</result>
<trID>…</trID>
</response>
Acknowledging — op="ack"
<command>
<poll op="ack" msgID="10021"/>
<clTRID>EXAMPLE-1-0101</clTRID>
</command>
<response>
<result code="1000"><msg>Command completed successfully</msg></result>
<msgQ count="2" id="10022"/>
<trID>…</trID>
</response>
The msgQ in the answer tells you how many are left and the id of the next one, so a drain loop is req → process → ack → repeat until 1300.
Ack only after you have durably recorded the message. It is gone afterwards, and nothing will send it again.
A message whose extension you did not declare
If a message's payload belongs to an extension you did not ask for at <login>, you still get the message — the <msgQ> and its text — without that payload, rather than nothing at all (RFC 9038). That is what the standard prescribes: a message you cannot fully parse is still more use than one you never saw.
The fix is to declare the extension. If you are seeing messages whose <resData> looks thinner than the pages here describe, that is the reason.
changePoll — what changed, and who changed it
Declare urn:ietf:params:xml:ns:changePoll-1.0 and a message about a change to an object of yours carries the reason, the actor and the state before the change (RFC 8590).
<extension>
<changePoll:changeData xmlns:changePoll="urn:ietf:params:xml:ns:changePoll-1.0" state="after">
<changePoll:operation>update</changePoll:operation>
<changePoll:date>1970-01-01T00:00:00.000+03:00</changePoll:date>
<changePoll:svTRID>NSPC-19700101000000-7F2A91C3B4D0</changePoll:svTRID>
<changePoll:who>Registry</changePoll:who>
<changePoll:reason>Registry lock applied</changePoll:reason>
</changePoll:changeData>
</extension>
Without this extension you see only that the domain's status changed. With it you see when, who did it, and why.
What arrives here
| Message | What you do about it |
|---|---|
| A transfer was requested for a name you sponsor | approve or reject it — and it approves itself if you do nothing |
| A transfer you are party to was approved, rejected or cancelled | record the outcome; sponsorship may have moved |
An operation that answered 1001 has finished | this is where its success or failure is reported |
| A domain is approaching expiry | renew it, or let it go deliberately rather than by omission |
| A domain was deleted | it is in the redemption window, if its zone has one |
| A restore you requested completed | the name is back, with the term the zone's rules give it |
| Balance notices — low balance and the like | top up before a 2104 stops a registration |
The full catalogue, with the payload of each, is on Notifications.
How often
Every few minutes is right for a working registrar. There is no push, no long-poll and no webhook on this interface: req returns immediately, and an empty queue costs one small frame.
There is no point polling more often: messages come from events, and events do not happen every second. The rate limit applies here just as it does to other commands.
On this page