PXL icon

PXL

URL shortener with analytics. Create and manage short links and view click insights via the Pxl API.

Short → Update a short link

AI-generated

Summary

Updates a PXL short link with a PUT request to /v1/short/{id} for each incoming item. The API response is returned as n8n item data.

Inputs

  • Id (required) — Short link ID used in the request path.
  • Additional Fields — Optional fields to include in the request body: route, destination, title, description, image, favicon, consent, clicks, createdAt, and updatedAt. Only supplied fields are included.
  • Options — Custom Body JSON is deep-merged with the supplied fields and takes priority for duplicate keys. Custom Headers and Query Filters add request headers and query parameters. Batching pauses between groups of input items; Debug adds request details to output. Return All enables the configured pagination behavior. Timeout sets the request timeout.

Output shape

One or more n8n items containing the API response for each input item.

Array responses are split into individual items; a non-array response becomes one item. With Return All enabled, the node follows the configured pagination settings and returns collected results. Debug information may also be included in the output.

Examples

Example 1: Update the destination and preview title for an existing short link.

Set the link ID, then supply Destination and Title under Additional Fields.

Links

Discussion