I am using privatemsg services module to create REST API of privatemsg using Services Module in Drupal 7.

If I send GET request to this url : http://example.com/rest/privatemsg/ I get all messages including messages in Inbox and Sent. Is there any way to Get messages from Inbox and Sent separately ? OR is there any way i can differentiate messages from Inbox and Sent ?


That resource has an optional type parameter, so you should be able to get away with requesting:


Or ?type=sent, etc

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.