All Smartech APIs are based on REST architecture style. In these APIs, you need to initiate API key authenticated JSON calls over HTTPS.
To start using the APIs:
- Enable API access in Smartech’s panel.
- Submit a request via HTTPS POST to Smartech. For best results, use HTTPS POST.
- Submit a call for each function. You cannot combine multiple calls into a single call. Each API request must include the following fields:
These fields are case sensitive. Values for fields vary according to the type of request.
The current Smartech API version comprises the following modules:
NOTE: In the API call, specify the module in the type field.
Each module has various actions associated to it.
A few generic actions are:
NOTE: In your API call, specify the action in the activity field.
Data comprises the constant and the input. Constant: is the API key.
You can obtain the API key from the Smartech panel.
Log in to your Smartech panel and go to Admin.
Enable the API Mode in Account Configuration under Advance details.
Now, go to Sub Admin and click Edit on your user name.
You can view your API key here.
Input: comprises the raw parameters like listname, subject, from, and so on.
Smartech APIs supports the use of API keys. API Keys add an additional layer of security for your account. You can generate your API key from your Smartech panel.