+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Update Webhook

Sie sind hier:

Updates the webhook with the given ID in the newsletter account.

Warning: Custom contact fields are currently not supported properly and will be fixed.

PUT https://api.maileon.com/1.0/webhooks/:id

Path Parameters

Name Description
id The ID of the webhook.

Example

PUT https://api.maileon.com/1.0/webhooks
Authorization: Basic: XXXXXXXXXXXXXXXX
Content-Type: application/json

{
  "url": "https://hosting.maileon.com/service/examples/en/webhooks_catch_example/webhook2.php",
  "event": "unsubscription",
  "urlParams": [
    {
      "custom_contact_field": null,
      "standard_contact_field": "email",
      "custom_value": null,
      "name": "email"
    },
    {
      "custom_contact_field": null,
      "standard_contact_field": "external_id",
      "custom_value": null,
      "name": "eid"
    }
  ],
  "customFields": [],
  "standardFields": [
    "email",
    "external_id"
  ],
  "eventFields": [
    "msg_id",
    "method"
  ]
}

Status 200 OK
Inhaltsverzeichnis