All: get data from your Tipimail account
POST /export/{{fileType}}
URL parameters:
| Name | Description | Type |
|---|---|---|
| fileType | Export format: json/csv/xls/xlsx | String |
Parameters:
| Name | Description | Type | Mandatory |
|---|---|---|---|
| dateBegin | Date begin on timestamp format | Int | No |
| dateEnd | Date end on timestamp format | Int | No |
Response:
| Name | Description | Type |
|---|---|---|
| Id | Message ID | String |
| ApiKey | Api Key used to send the email | String |
| CreatedDate | Created Date on time stamp format | String |
| LastStateDate | Last state date of the email | String |
| From | Sender | String |
| Recipient | String | |
| Subject | Subject of the email | String |
| Size | Size of the email | Int |
| Tags | If tags are added on the email | String |
| LastState | Last status of the email | String |
| Open | Number of open | Int |
| Click | Number of click | Int |
Programming language:
Response exemple:
{
"id": "575798eb9hgjhgjhg6a3495bf19c",
"apiKey": "26e4abd0e2a7jhgjh09nbnbaf639124f3a22a",
"createdDate": 1465358571,
"lastStateDate": 1465358572,
"from": "test@tipimail.com",
"email": "test@tipimail.com",
"subject": "Test",
"size": 389,
"lastState": "delivered",
"open": 0,
"click": 0
}
Code example:
curl -X GET -H "Content-Type: application/json" -H "X-Tipimail-apiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY" https://api.tipimail.com/v1/export/json