Save Webhook
Updates the existing Webhook or creates a new Webhook if the id parameter is 0.
NsApiSlow threshold: 2000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Body
The Webhook that is saved
Webhook definitions. Webhooks broadcast events from NetServer to remote servers. Carrier object for Webhook. Services for the Webhook Carrier is available from the Webhook Agent.
Primary Key. Unique id for this webhook.
Name to identify this webhook. Does not have to be unique.
Array of event names that trigger this webhook: ['contact.created', 'sale.changed']
Destination to POST event info to. URL for webhooks. Id for CRM scripts
Shared secret key used for generating SHA256 HMAC signature, so that receiver can verify that call came from this server
Webhook status - should we post events to the URL? 1=Active, 2=Stopped or 3=TooManyErrors
Unknown, Active, Stopped, TooManyErrors Name of plugin that handles this webhook. 'webhook' for HTTP POST notifications, 'crmscript' for script invocations.
Custom HTTP Headers to add to webhook requests.
Custom values to inject into JSON body of webhook call.
Registered when in UTC.
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Last updated when in UTC.
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Obsolete, use ErrorEmails instead
Email addresses to notify when this webhook is disabled.
Associates to notify when this webhook is disabled.
Human-readable description of what this webhook does.
How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
None, Email, InApp When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
None, FirstFailure, Disabling Number of times webhook has been invoked since registered. For statistical purposes.
Number of times webhook has returned error since registered. For statistical purposes.
Number of consecutive errors. Reset to 0 when an non-error is received. If too many errors, webhook.state is changed to TooManyErrors(3) to deactivate webhook.
Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
Response
OK
Webhook definitions. Webhooks broadcast events from NetServer to remote servers. Carrier object for Webhook. Services for the Webhook Carrier is available from the Webhook Agent.
Primary Key. Unique id for this webhook.
Name to identify this webhook. Does not have to be unique.
Array of event names that trigger this webhook: ['contact.created', 'sale.changed']
Destination to POST event info to. URL for webhooks. Id for CRM scripts
Shared secret key used for generating SHA256 HMAC signature, so that receiver can verify that call came from this server
Webhook status - should we post events to the URL? 1=Active, 2=Stopped or 3=TooManyErrors
Unknown, Active, Stopped, TooManyErrors Name of plugin that handles this webhook. 'webhook' for HTTP POST notifications, 'crmscript' for script invocations.
Custom HTTP Headers to add to webhook requests.
Custom values to inject into JSON body of webhook call.
Registered when in UTC.
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Last updated when in UTC.
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Obsolete, use ErrorEmails instead
Email addresses to notify when this webhook is disabled.
Associates to notify when this webhook is disabled.
Human-readable description of what this webhook does.
How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
None, Email, InApp When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
None, FirstFailure, Disabling Number of times webhook has been invoked since registered. For statistical purposes.
Number of times webhook has returned error since registered. For statistical purposes.
Number of consecutive errors. Reset to 0 when an non-error is received. If too many errors, webhook.state is changed to TooManyErrors(3) to deactivate webhook.
Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
Related topics
Webhook subscriptionPost WebhookNSWebhookAgentCRMScript webhooks event handlersWebhookCreate webhook