Skip to main content

This type defines the request payload of the sendMessage method.

Types that use SendMessageRequest

Not used by any types.

Call that uses SendMessageRequest

Fields

Field
Type
Description
conversationId
This field specifies the unique identifier of the conversation in which to send the message.

Use the getConversations method to retrieve conversation ID values.

This field is required if sending a message in an existing conversation.
emailCopyToSender
This boolean indicates whether a copy of the message should be emailed to the sender.

If this boolean is input as true, a copy of the message will be emailed to the sender.
messageMedia
array of MessageMedia
This array lists the individual forms of media, if any, to be attached to the message.

Up to five individual forms of media may be be sent per message. If more than five are specified in this array, an error will occur and the call will fail.
messageText
The text of the message.

Max length: 2000 characters
otherPartyUsername
This field specifies the eBay username of the entity for which to send the message.

This field is required if starting a new conversation with another eBay user.
reference
This container should be used if the new or existing conversation is related to a specific eBay listing.

For example, a referenceType of LISTING and an associated referenceId will specify the item ID value of the listing associated with the message.