Get Email Log
GET /v1/log/{uuid}
Retrieves the delivery log for a previously sent email by its UUID.
The UUID is returned in the data array when the email is queued
via POST /v1/send/email or POST /v1/send/template.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”1b9d6e34-634a-4762-8d5a-f9cb9165d432UUID of the queued email, as returned by the send endpoints
Responses
Section titled “ Responses ”Email log retrieved successfully
object
trueSuccesfully export log emailobject
1133602294Internal user ID
1Internal campaign ID
121535Raw status code
2Date and time the email was queued for sending
2026-06-24 17:09:54Date and time delivery was confirmed by the mail server
2026-06-24 17:09:55Date and time the email was opened (null if not yet opened)
2026-06-24 17:10:13UUID that uniquely identifies this email send
1b9d6e34-634a-4762-8d5a-f9cb9165d432Recipient email address
vmartinezrmzz@gmail.comRecipient name
nameMessage ID assigned by the mail relay
Yk-ol0b4T3avXNaiWrsntACustom variable A
Custom variable B
Custom variable C
Custom variable D
object
Human-readable delivery status
OK - OPENED EMAILobject
demoDEMO Accountobject
template-gateway-v1Example
{ "status": true, "message": "Succesfully export log email", "data": [ { "id": 1133602294, "usuario": 1, "campania": 121535, "estatus": 2, "fecha_envio": "2026-06-24 17:09:54", "fecha_confirmacion": "2026-06-24 17:09:55", "fecha_lectura": "2026-06-24 17:10:13", "token_mail": "1b9d6e34-634a-4762-8d5a-f9cb9165d432", "correo": "jane@smith.com", "nombre": "name", "MessageID": "Yk-ol0b4T3avXNaiWrsntA", "credito": null, "saldo_uno": null, "saldo_dos": null, "mora": null, "comodin_a": null, "comodin_b": null, "comodin_c": null, "comodin_d": null, "status": { "descripcion": "OK - OPENED EMAIL" }, "user": { "username": "demo", "name": "DEMO Account" }, "campaign": { "descripcion": "template-gateway-v1" } } ]}Bad request or missing required parameters
object
An http error occurred. If error persists, contact soporte@contacta.mxobject
Example
{ "status": false, "message": "An http error occurred. If error persists, contact soporte@contacta.mx", "data": { "message": "Missing required parameters, please verify your request", "code": 400 }}Unauthorized — invalid or missing API token
object
An http error occurred. If error persists, contact soporte@contacta.mxobject
Example
{ "status": false, "message": "An http error occurred. If error persists, contact soporte@contacta.mx", "data": { "message": "Your key auth is not valid, please check with your administrator", "code": 401 }}Examples
Section titled “Examples ”Useful for guiding users to view code examples in different developer languages.
curl -X GET "https://api.example.com/v1/log/{uuid}" \ -H "Accept: application/json" \ -H "Connection: keep-alive" \ -H "Authorization: Bearer <your-token>" const fetch = require('node-fetch');
fetch("https://api.example.com/v1/log/{uuid}", { method: "GET", headers: { "Accept": "application/json", "Connection": "keep-alive", "Authorization": "Bearer <your-token>"} }) .then(res => res.json()) .then(console.log) .catch(console.error); <?php $curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://api.example.com/v1/log/{uuid}", CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Accept: application/json", "Connection: keep-alive", "Authorization: Bearer <your-token>" ] ]);
$response = curl_exec($curl); curl_close($curl); echo $response; ?> using System.Net.Http; using System.Text; using System.Threading.Tasks;
var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.GET, "https://api.example.com/v1/log/{uuid}"); request.Headers.Add("Accept", "application/json");request.Headers.Add("Connection", "keep-alive");request.Headers.Add("Authorization", "Bearer <your-token>"); var response = await client.SendAsync(request); var responseBody = await response.Content.ReadAsStringAsync(); Console.WriteLine(responseBody); import requests import json
url = "https://api.example.com/v1/log/{uuid}" headers = { "Accept": "application/json", "Connection": "keep-alive", "Authorization": "Bearer <your-token>" }
response = requests.get(url, headers=headers) print(response.text) import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.StandardCharsets;
public class ApiExample { public static void main(String[] args) throws Exception { URL url = new URL("https://api.example.com/v1/log/{uuid}"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET");
conn.setRequestProperty("Accept", "application/json"); conn.setRequestProperty("Connection", "keep-alive"); conn.setRequestProperty("Authorization", "Bearer <your-token>");
int code = conn.getResponseCode(); System.out.println("Response code: " + code); } }