Reporte de entrega de la campaña
GET
/v1/bulk/campaigns/{id}/report
const url = 'https://api.mailerdash.com/v1/bulk/campaigns/example/report';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.mailerdash.com/v1/bulk/campaigns/example/report \ --header 'Authorization: Bearer <token>'Authorizations
Sección titulada «Authorizations »Parameters
Sección titulada « Parameters »Path Parameters
Sección titulada «Path Parameters » id
required
string
Responses
Sección titulada « Responses »Estadisticas de entrega
Media type application/json
object
id
string
name
string
key_id
string
template_id
string
list_id
string
from_email
string
from_name
string
reply_to
string
status
string
scheduled_at
string
started_at
string
completed_at
string
total_contacts
integer
sent_count
integer
failed_count
integer
created_at
string
updated_at
string
by_status
Conteos por status en campaign_sends (pending/sent/failed/skipped/unsubscribed)
object
key
additional properties
integer
delivery_rate
Sent / total_contacts en porcentaje (e.g. “95.0%”)
string
Example
{ "id": "cmp-d894cd3d626d9d11", "status": "draft", "delivery_rate": "95.0%"}No autorizado
Campaña no encontrada