Skip to main content
WEBHOOK
emailMarketingClick
{
  "type": "Email marketing",
  "event": "click",
  "campid": "12345",
  "relid": "123",
  "cityName": "Bogota",
  "regionName": "Distrito Capital de Bogota",
  "countryName": "Colombia",
  "latitude": 4.60971,
  "longitude": -74.081749,
  "device_type": "mobile",
  "browser": "Chrome",
  "timestamp": "2020-10-02 15:07:31",
  "email": "test@testdomain.com",
  "campaignName": "Test campaign name",
  "subject": "Test campaign subject",
  "contactId": "112528991",
  "destination": "https://www.testdomain.com/"
}

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 "click" para este webhook)

Example:

"click"

campid
string

ID único de la campaña

Example:

"12345"

relid
string

ID interno del cliente

Example:

"123"

cityName
string

Ciudad donde ocurrió el evento de click (la ubicación puede no ser precisa)

Example:

"Bogota"

regionName
string

Región/Estado/Departamento donde ocurrió el evento

Example:

"Distrito Capital de Bogota"

countryName
string

País donde ocurrió el evento

Example:

"Colombia"

latitude
number

Latitud donde ocurrió el evento

Example:

4.60971

longitude
number

Longitud donde ocurrió el evento

Example:

-74.081749

device_type
string

Tipo de dispositivo

Example:

"mobile"

browser
string

Navegador

Example:

"Chrome"

timestamp
string

Fecha y hora del evento de click

Example:

"2020-10-02 15:07:31"

email
string

Dirección del destinatario

Example:

"test@testdomain.com"

campaignName
string

Nombre interno de la campaña

Example:

"Test campaign name"

subject
string

Asunto de la campaña

Example:

"Test campaign subject"

contactId
string

ID interno del contacto

Example:

"112528991"

destination
string

URL, teléfono o dirección de email a donde fue redirigido el destinatario

Example:

"https://www.testdomain.com/"

Response

200

Webhook recibido correctamente