Enviar un correo suelto
Escribe un correo fuera de la secuencia, con archivos si hace falta. Gratis; cuenta para los correos del día.
Envía un correo fuera de la secuencia. Puede ser otra vez a alguien a quien una campaña ya le escribió (recipient_id), como la cotización que te pidió una semana después, o a un colega al que te remitió una respuesta (reply_id y to): alguien de la misma empresa que quien respondió, o una dirección que menciona su respuesta. Sale del buzón en el que va la conversación, con el mismo nombre. Sin subject va en el hilo del último correo; con uno, abre un hilo nuevo. Los archivos van en attachments. Es gratis, y cuenta para lo que los dominios del remitente pueden enviar hoy, junto con las campañas: pasado eso, falla con daily_limit_reached. No se le puede escribir a quien se dio de baja, rebotó o está en una lista de supresión, y alguien nuevo al que no te remitió ninguna respuesta va en una campaña: POST /email/campaigns/{id}/recipients. La misma solicitud dentro de 24 horas se toma como repetición: recibes la primera respuesta y no se envía nada dos veces.
- Cobro: La llamada es gratis, y los correos también: salen de los dominios de envío del remitente, que se pagan por mes; consulta Dominios de envío.
Una clave de prueba (won_test_...) ejecuta esto en el sandbox: no se envía ni se cobra nada.
apiKeyAuthorizationBearer <clave de API>Authorization: Bearer won_live_..., a key from the console.
Idempotency-Key?stringAny unique string. A retry with the same key and the same body returns the first response and is not charged again.
length <= 255application/json- body
recipient_id?stringWrite again to this recipient, such as rcp_9x7p1q8w3e5r4k2m. They must have had an email of the campaign.
length <= 40reply_id?stringInstead of recipient_id: write to someone this reply pointed to, such as rpl_1q8w3e5r4k2m9x7p. Needs to.
length <= 40to?stringWith reply_id: the colleague's email address.
length <= 254first_name?stringWith reply_id: the colleague's first name, for {{first_name}}.
length <= 80last_name?stringWith reply_id: the colleague's last name.
length <= 80subject?stringThe subject line of a new thread. Leave it out to write in the thread of the last email.
1 <= length <= 300text*stringThe email, as plain text. Placeholders such as {{first_name|there}} work as in a campaign. No signature block or unsubscribe line: every email ends with them.
1 <= length <= 4000attachments?array<>Up to 3 files, 10 MB together: PDFs, pictures, office documents, CSV and text. Each needs content or url.
items <= 3[]The result.
application/json- response
data*The email, with who it went to.
notice*|A plain sentence when there is something to know about this answer. Null otherwise.
usage*Nothing is charged here. The balance, for reference.
curl -X POST 'https://api.won.dev/v1/email/messages' \ -H 'Content-Type: application/json' \ -d '{ "recipient_id": "rcp_9x7p1q8w3e5r4k2m", "text": "Hi Dana,\n\nAs promised, here is the quote for 40 chairs. It holds until the end of the month.\n\nAlex", "attachments": [ { "filename": "quote-harborline.pdf", "url": "https://northwind-seating.example/q/2611.pdf" } ]}'{ "data": { "id": "msg_2k9x7p1q8w3e5r4m", "campaign_id": "cmp_7p1q8w3e5r4k2m9x", "recipient_id": "rcp_9x7p1q8w3e5r4k2m", "from": "alex@northwindseating.example", "to": "dana.whitfield@harborline-imports.example", "kind": "single", "step": null, "version": 1, "status": "sent", "subject": "Re: Office chairs for Harborline Imports", "opens": 0, "clicks": 0, "bounce_type": null, "attachments": [ { "filename": "quote-harborline.pdf", "content_type": "application/pdf", "size": 96540 } ], "sent_at": "2026-11-27T15:12:40.000Z", "recipient": { "id": "rcp_9x7p1q8w3e5r4k2m", "campaign_id": "cmp_7p1q8w3e5r4k2m9x", "email": "dana.whitfield@harborline-imports.example", "first_name": "Dana", "last_name": "Whitfield", "company": "Harborline Imports", "country": "US", "contact_id": null, "status": "active", "reason": null, "risky": false, "emails_sent": 1, "next_send_at": "2026-11-24T15:20:00.000Z", "last_sent_at": "2026-11-27T15:12:40.000Z", "metadata": { "crm_id": "lead_4471" }, "created_at": "2026-11-18T14:03:10.000Z" } }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}Última actualización: