Add Bulk Contact
This API allows the user to add contacts in bulk to the Smartech panel.
Details
URL Schema:
US IDC:
https://api.netcoresmartech.com/apiv2
Indian IDC:
https://apiin.netcoresmartech.com/apiv2
Method:
POST
Header:
Key | Value |
---|---|
Content-Type | application/x-www-form-urlencoded |
Parameters:
Parameter | Description | Data Type | Required | Parameter Type |
---|---|---|---|---|
activity | Activity refers to the action that is being performed through the API, that is, add, delete, update, and so on. Value here: bulkupload | String | Yes | Query Parameter |
path | This refers to the complete path of the hosted .csv file which contains the contact data. | String | Yes | Body Parameter |
listid | Each list in Smartech has a unique ID assigned to it to identify. Passing this ID is required to let the API know to which list the contact is to be added. | Integer | Optional | Body Parameter |
apikey | 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. | string | Yes | Query Parameter |
type | It represents the module or group the API belongs to. For example, if the API 's functionality is related to Contacts, type is 'contact'. value here: contact | string | Yes | Query Parameter |
notifyemail | Once the bulk upload request is triggered, the upload process begins in the background. You may want to get notified when the upload is completed. This is the email ID to which the notification email is sent. | string | Optional | |
callback | This refers to the ping back URL to receive status of upload job. | string | Optional |
Request:
Request URL:
https://api.netcoresmartech.com/apiv2?type=contact&activity=bulkupload&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxx&path=<PATH OF YOUR FILE>&listid=33&[email protected]&callback=<URL>
Response: 200 OK
{
"requestid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"result": "Success"
}
Updated almost 4 years ago