Cambiar un correo
Cambia un correo que espera aprobación, para la persona a la que está escrito. Gratis.
Cambia el asunto o el texto de un correo que espera aprobación, o que fue aprobado y aún no salió, para esa sola persona. Se revisa como todo correo y vuelve a esperar aprobación. Escríbelo completo: los marcadores ya están llenos. Un seguimiento que responde al correo anterior conserva el asunto de ese hilo. Un cambio posterior de los pasos de la campaña lo deja como quedó. Gratis.
- Cobro: Gratis.
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.
id*stringEmail ID, such as msg_3e5r4k2m9x7p1q8w.
length <= 40Idempotency-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
subject?stringThe new subject line.
1 <= length <= 300text?stringThe new text, as plain text. The footer and the unsubscribe link are added when it goes out.
1 <= length <= 4000The result.
application/json- response
data*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 PATCH 'https://api.won.dev/v1/email/messages/msg_3e5r4k2m9x7p1q8w' \ -H 'Content-Type: application/json' \ -d '{ "id": "msg_3e5r4k2m9x7p1q8w", "text": "Hi Dana,\n\nI saw that Harborline Imports imports office seating, and that you opened a warehouse in Savannah. We make mesh task chairs in Leeds and ship to the US in four weeks.\n\nWould a price list be useful?\n\nAlex"}'{ "data": { "id": "msg_3e5r4k2m9x7p1q8w", "conversation_id": "cnv_9x7p1q8w3e5r4k2m", "campaign_id": "cmp_7p1q8w3e5r4k2m9x", "recipient_id": "rcp_9x7p1q8w3e5r4k2m", "from": "alex@northwindseating.example", "to": "dana.whitfield@harborline-imports.example", "kind": "step", "step": 1, "version": 1, "status": "pending_approval", "subject": "Office chairs for Harborline Imports", "text": "Hi Dana,\n\nI saw that Harborline Imports imports office seating, and that you opened a warehouse in Savannah. We make mesh task chairs in Leeds and ship to the US in four weeks.\n\nWould a price list be useful?\n\nAlex", "opens": 0, "clicks": 0, "bounce_type": null, "attachments": [], "sent_at": null }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}Última actualización: