SDK vs REST API

What’s the best practice? Should I use the JavaScript SDK or REST API. Are there any documented pros and cons of each? Thanks Dan

Hi Dan,

The most convenient option is to use the SDK if it’s available for your platform. In your case, it’s better to use JavaScript SDK. And actually if you look into its source code, it uses REST API in its turn.