API Documentation >> API 2.0 Main >> Account Management >> Messages

Contents

Messages

Allowed HTTP Methods

Resource Information

Parameters

Example Request

1. Get the message thread overview for the authenticated user:

GET https://api.cardmarket.com/ws/v2.0/account/messages


2. Get a complete message thread for messages between the authenticated user and another user:

GET https://api.cardmarket.com/ws/v2.0/account/messages/4398399


3. Write a message to another user:

POST https://api.cardmarket.com/ws/v2.0/account/messages/4398399

<?xml version="1.0" encoding="UTF-8" ?>
<request>
    <message>Message text goes here</message>
</request>

4. Delete a single message between the authenticated and another user:

DELETE https://api.cardmarket.com/ws/v2.0/account/messages/4398399/47114711


5. Delete all messages between the authenticated and another user:

DELETE https://api.cardmarket.com/ws/v2.0/account/messages/4398399