SeloraX icon

SeloraX

Interact with SeloraX API to manage items, send notifications, and execute actions

Custom Action

AI-generated

Summary

Execute a custom HTTP request against the SeloraX API.

Inputs

  • httpMethod (required) — HTTP method for the API request. Must be one of: DELETE, GET, PATCH, POST, PUT. Default: GET.
  • endpoint (required) — API endpoint path (must start with '/', e.g., '/api/v1/custom/action').
  • requestBody — JSON request body. Visible when httpMethod is POST, PUT, or PATCH. Default: {}.
  • queryParameters — Query parameters as a JSON object. Default: {}.
  • additionalOptions — Optional request configuration. Default: {}.

Output shape

An object with optional _metadata and _rawResponse fields.

_metadata always includes operation, timestamp, success (from response), and requestId (from response meta). _rawResponse is included only when additionalOptions.includeRawResponse is true. Core data is derived from responseData.data.

Examples

Example 1: GET request to list items

httpMethod: GET, endpoint: '/api/v1/items', additionalOptions: {}

Links

Discussion