I was getting a valid response without messages when using another user then 'admin'. My idea was that using the API you would just get any received message, but there is a concept of an 'inbox' in between. I missed the option 'Move received SMS messages to inbox' when adding the user, so when using this user for the API call it resulted in no messages. For the 'admin' user it worked because of the checkbox 'forward to "admin" inbox'.
So there was no problem with the software, just a misconception on my part.
The 'request-received-messages' HTTP call works for all users. The operation gets all the received messages from the inbox of the user and it does not matter if it is the admin user or another user.
Can you describe what happens? Do you get an error message or do you get a valid response without any messages in it? If it is the latter then you can check in the Web Application if the user has any messages in the inbox or in the receive log.
I have been busy with software integration using the HTTP API. When I use the 'send-message' operation it works with any user that has the send message privilege, but the operation 'request-received-messages' only works when used with user admin. Is this behavior by design? I would like to use a user with as little privileges as possible.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 354
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 519