Skip to main content
WEBHOOK
emailMarketingSent
{
  "type": "Email marketing",
  "event": "sent",
  "campid": "1234",
  "relid": 123,
  "to": "test@testdomain.com",
  "contactid": 1,
  "origin": "Web",
  "timestamp": "2020-10-01 20:01:20",
  "status": "Entregado",
  "response": "OK"
}

Documentation Index

Fetch the complete documentation index at: https://docs.opptima.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Usa tu API Key como Bearer token en el header Authorization.

Ejemplo: Authorization: Bearer YOUR_API_KEY

Obtén tu API Key en la página de Settings.

Body

application/json
type
string

Tipo de evento (siempre "Email marketing" para este grupo)

Example:

"Email marketing"

event
string

Evento generado (siempre "sent" para este webhook)

Example:

"sent"

campid
string

ID único de la campaña

Example:

"1234"

relid
integer

ID interno del cliente

Example:

123

to
string

Dirección de email del destinatario

Example:

"test@testdomain.com"

contactid
integer

ID interno del contacto

Example:

1

origin
string

Origen del mensaje (siempre "Web" para Email Marketing)

Example:

"Web"

timestamp
string

Fecha y hora de procesamiento por el proveedor del destinatario, zona horaria colombiana (GMT -5)

Example:

"2020-10-01 20:01:20"

status
string

Resultado de la entrega del mensaje en español

Example:

"Entregado"

response
string

Respuesta cruda del proveedor del destinatario (para entregas exitosas siempre será "OK")

Example:

"OK"

Response

200

Webhook recibido correctamente