Get list of emails sent to client.
GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getClientEmails&id=ID
{
"success": true,
"emails": [
{
"id": "165",
"client_id": "3",
"subject": "New Hosting Account Created",
"date": "2011-07-18 13:11:05",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "164",
"client_id": "3",
"subject": "New Order #1939512264",
"date": "2011-07-18 13:10:12",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "163",
"client_id": "3",
"subject": "Invoice #89: Created",
"date": "2011-07-18 13:10:12",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "158",
"client_id": "3",
"subject": "New Hosting Account Created",
"date": "2011-07-18 12:49:03",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "157",
"client_id": "3",
"subject": "New Order #867385070",
"date": "2011-07-18 12:48:38",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "156",
"client_id": "3",
"subject": "Invoice #87: Created",
"date": "2011-07-18 12:48:38",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "133",
"client_id": "3",
"subject": "New Order #955986012",
"date": "2011-07-15 14:07:21",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "132",
"client_id": "3",
"subject": "Invoice #76: Created",
"date": "2011-07-15 14:07:21",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "99",
"client_id": "3",
"subject": "Invoice #60: Created",
"date": "2011-07-13 05:32:04",
"lastname": "Doe",
"firstname": "John"
},
{
"id": "82",
"client_id": "3",
"subject": "Invoice #48: Created",
"date": "2011-07-06 04:17:56",
"lastname": "Doe",
"firstname": "John"
}
],
"totalpages": 4,
"call": "getClientEmails",
"server_time": 1317711909
}