Sender Emails

Acquire live chat dashboard gives your team leader an overview of agent activity at any given time.

Acquire Profiles Sender Emails API header in Content-Type application/x-www-form-urlencoded send.

Parameter

Value

Path

https://app.acquire.io/api/setting/email-setting

Method

POST

Authorization

Bearer [YOUR_API_AUTH_TOKEN]

Content-type

application/x-www-form-urlencoded

zone

{"timezone":"Mountain/Arizona","offset":"-06:00"}

Response JSON


{
    "success": true,
    "error": null,
    "data": {
        "total": 1,
        "data": [
            {
                "id": 15416,
                "sender_email": "johndeo@gmail.com",
                "sender_name": "John Deo",
                "type": "user",
                "is_active": "1",
                "is_default": "1",
                "date_created": "2018-04-17 06:12:58"
            }
        ]
    }
}

Sample Code

 var http = require("http");

	var options = {
		"method": "POST",
		"hostname": [
			"app",
			"acquire",
			"io"
		],
		"path": [
			"profile",
			"setting",
			"email-setting"
			],
		"headers": {
			"Authorization": "Bearer [YOUR_API_AUTH_TOKEN]",
			"Content-Type": "application/x-www-form-urlencoded"
		}
	};

	var req = http.request(options, function (res) {
	var chunks = [];

	res.on("data", function (chunk) {
		chunks.push(chunk);
	});

	res.on("end", function () {
	var body = Buffer.concat(chunks);
		console.log(body.toString());
		});
	});

	req.end();

Last updated