Skip to main content
Published: February 24 2009, 12:19:00 PMUpdated: September 05 2022, 8:20:27 AM

What API should I use to reply eBay member messages?


   By going to one of the URLs as below, an eBay member can send a message to another eBay user. 

Contact Member for communicating with any eBay member:{MemberUserID}

Ask Seller a Question for an active listing:{ItemID}&requested={SellerUserID}

Trading API AddMemberMessageRTQ call enables a seller to reply to an Ask Seller a Question type message or Contact Member message. 

Detailed Description


To anwser such messages,  one needs to:

  • call GetMyMessages API as below to retrieve SenderExternalMessageID, MessageID, ResponseEnabled and ItemID
 <?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
   xxx  </RequesterCredentials>



  • Exam each Message container, if Message.ResponseDetails.ResponseEnabled flag is true and  Message.Replied is false ,  then make another GetMyMessage call with the Message.MessageID  and <DetailLevel>ReturnMessages</DetailLevel to obtain the complete message for the Message.MessageID in question.
 <?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <eBayAuthToken>AgAAAA** ....</eBayAuthToken>




  • Pass the data obtained in the step1 and your answer into AddMemberMessageRTQ  as below:


 <?xml version="1.0" encoding="utf-8"?>
<AddMemberMessageRTQRequest xmlns="urn:ebay:apis:eBLBaseComponents">

    <Body>YOUR ANSWER</Body>

 <ItemID>{GetMyMessagesResponse.Messages.Message.ItemID}</ItemID>  <--- only if it is returned in the step 1 !!!! -->
    xxxx  </RequesterCredentials>


How well did this answer your question?
Answers others found helpful