DefensX icon

DefensX

Call DefensX Partner API endpoints.

Actions47

Customers → Create customer

AI-generated

Summary

Create a customer in DefensX by sending a POST request to /customers with the required name and subscription ID. The response is returned as n8n items according to the selected output mode.

Inputs

  • name (required) — Customer name.
  • Subscription ID (required) — Subscription to associate with the customer. The API schema defines this value as an integer; the node converts the supplied value to a number.
  • domain — Customer domain.
  • Message Template ID — Message template to associate with the customer.
  • Policy Template ID — Policy template to associate with the customer.
  • Body (JSON Override) — Optional JSON object. If it contains any properties, it is sent as the entire request body instead of the structured fields.
  • Output Mode — Choose one item per array element or a single item containing the full response.

Output shape

One or more n8n items containing the API response.

With One Item Per Element, an array response produces one item per element; non-object elements are wrapped in a value field. With Single Item (Raw), the response is returned in one item; non-object responses are wrapped in an items field. Empty optional structured fields are omitted from the request body.

Links

Discussion