Hello,Is it possible to match a message/ticket that comes from the API with an existing ticket?
No it's currently not possible and API is currently limited to ticket creation only, but the developers plan to extend the API in the future (no ETA). See here: http://osticket.com/forum/discussion/comment/98144/#Comment_98144