Knowledge Base Home API What are the best practice recommedations for using the API?
What are the best practice recommedations for using the API?
Updated on November 26, 2020
We recommend these practices while using the API, which are:
- Make sure you are using valid tokens. Failure to do so might lead you to be locked out for 10 minutes
- Try to store authenticated tokens and reuse them, instead of using login() for each method call
- Please make use of the batch sizes when fetching bulk results. All our bulk fetching methods like emailGet, listGet, reportGet have the option to fetch specific pages of results. Trying to import very large amounts of data might lead to timeouts.
- Do not try to create email campaigns for an individual contact. This is something we do not encourage.
In case you are facing any technical issues, please feel free to contact us. If you can provide some sample code, it will help us resolve the issues more effectively.