@nayelyz thanks for the quick reply.
What i want to do is:
I have my own server for monitoring/controlling my IoT devices. I want smarthing devices to be included to my server, receive events and control smarthing devices. All this from my server.
All I have is smarthing account credentials, now without manual intervention how to achieve my requirements? Is there a way?