Developer API Documentation | Knowledge Base

Email Marketing API basics

Technetto Email Marketing offers RESTful API interface to manage your accounts. Every api requires apikey to recognize the user. These APIs provide various functionality to manage your account programatically Mailing List Operations Campaign Related Operations Reporting Operations Account Management Base URL : http://tnmails. ...

Click here to read more

Create List

URL : createMailingList Disc : This creates an empty mailing list. Input Params : apikey,mailingListName Output : {"msg": , "errorCode": , "id": } Error Codes : 0 - Success, 90 - Missing Parameters, 99 - Incorrect API Key, 98 - Failed to create, internal error. ...

Click here to read more

Deleting A List

URL : deleteMailingList Disc : This deletes previously created mailing list. Input Params : apikey,mailingListId Output : {"msg": , "errorCode": } Error Codes : 0 - Success, 90 - Missing Parameters, 99 - Incorrect API Key, 98 - Failed to delete, possibily incorrect mailing list id. ...

Click here to read more

Add emails to Mailing List

URL : addDataToMailingList Disc : This adds data to previously created mailing list Input Params : apikey,mailingListID,data (this is array of records) Disc Input : data is json encoded array of records with 0th index containing column name. Valid Column names are : email,name,company,address,phone,state,city,country,zip,job,custom1,custom2,custom3,custom4,c ustom5 Sample Code : $data[0]['email']='admin@testing.com'; $data[0]['name']='My Name'; $data[0]['company']='My State'; Json Encode above data Output : {"msg": , "errorCode": } Error Codes : 0 - Success, 90 - Missing Parameters, 99 - Incorrect API Key, 98 - Failed to delete, possibily incorrect mailing list id. ...

Click here to read more

Get Mailing List

...

Click here to read more

Basic Reports

...

Click here to read more

Detailed Report

...

Click here to read more

Read Reports

...

Click here to read more

Link Reports

...

Click here to read more

Sharing Reports

...

Click here to read more

Unsubscribe Reports

...

Click here to read more

Get Campaigns

...

Click here to read more

Create Campaign

URL : createCampaign Disc : This creates a new campaign for the user Input Params :apikey: APIKey of the user mailingList: ";" seperated mailing list Ids (to get Ids call getMailingLists) name: Name of Campaign fromemail: This can be ID or full from email. It will only accept verified email addresses. fromName: From Name for campaign subject: Subject of Email Campaign body: Body of Email Campaign address: Physical Address of Sender city: City of Sender state: State of Sender country: Country of Sender zip: Zip Code of Sender autoDays(Optional): This is mandatory in case of AutoResponders. Should be positive integer only. startTime(Optional): This is mandatory in case of schedulers, this should be greater than present IST time. ...

Click here to read more

Sample Code

Calling : $data[’apikey’]=”asdasdasdasd”; print_r(CallAPI("POST","http://tnmails. ...

Click here to read more