Skip to content
Connector

Generic HTTP

Call any HTTP API with shared auth and paging

Call any REST API with absolute URLs, auth set once in the configuration, and automatic paging.

@ftnt-dspilleMaintainer v3.1.1 Published Oct 6, 2026 Updated Oct 26, 2026
Download .tgz · 48 KB

generic-http_3.1.1.tgz

sha256:8b6a6ca6225e591d2ab2b7c27a515b1f63aa029708549d7e79648831e48d18ed
Source repository

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Configuration · 10 fields

  • Server URL server_url text

    Base URL prepended to relative request paths. Leave blank if every action will use absolute URLs.

  • Port port integer

    Optional port appended to the Server URL when the URL does not already specify one.

  • Authentication Type auth_type select required

    Default authentication method. Per-action override is supported.

    Options NoneBasicBearer TokenAPI Key HeaderAPI Key Query ParamOAuth2 Client CredentialsToken Login

    When Authentication Type is Basic

    • Username basic_username text required
    • Password basic_password password required

    When Authentication Type is Bearer Token

    • Bearer Token bearer_token password required

      Sent as 'Authorization: Bearer <token>'.

    When Authentication Type is API Key Header

    • Header Name api_key_header_name text required
    • API Key api_key password required

    When Authentication Type is API Key Query Param

    • Query Param Name api_key_param_name text required
    • API Key api_key password required

    When Authentication Type is OAuth2 Client Credentials

    • Token URL oauth_token_url text required
    • Client ID oauth_client_id text required
    • Client Secret oauth_client_secret password required
    • Scope (Optional) oauth_scope text

    When Authentication Type is Token Login

    • Login URL login_url text required

      Endpoint to POST credentials to. Relative paths join the Server URL.

    • Login Body Type login_body_type select

      json: send username/password as a JSON body. header_only: send no body, so credentials go in Login Request Headers only (e.g. Yeti x-yeti-apikey).

      Default json

      Options jsonheader_only
    • Login Request Headers login_request_headers password

      JSON object of headers to send on the login request. Required for header_only body type. Also accepted for json mode (merged with the credential body).

    • Username login_username text

      Required for json body type. Leave blank when using header_only.

    • Password login_password password

      Required for json body type. Leave blank when using header_only.

    • Username Field login_username_field text

      JSON body key for the username. Default 'username'.

      Default username

    • Password Field login_password_field text
    • Token Response Path login_token_path text

      Dot-path inside the JSON login response. Leave blank if the response body is the bare token string (e.g. filebrowser).

    • Auth Header Name login_header_name text

      Header to send the token on. e.g. 'X-Auth' (filebrowser), 'Authorization' (with Bearer prefix).

    • Auth Header Prefix login_header_prefix text

      Optional prefix prepended to the token. e.g. 'Bearer ' (note trailing space).

  • Default Custom Headers default_headers json

    Non-sensitive headers attached to every request. Values are stored in plaintext.

  • Request Timeout (seconds) timeout integer

    Default 60

  • Max Retries max_retries integer

    Number of automatic retries on transient failures. 0 disables retry.

    Default 0

  • Retry Backoff Factor backoff_factor text

    urllib3 backoff factor. Sleep between retries = factor * (2^(retry-1)).

    Default 0.5

  • Retry On Status retry_on_status text

    Comma-separated HTTP status codes to retry.

    Default 429,500,502,503,504

  • Return On HTTP Error return_on_error checkbox

    When true, non-2xx responses are returned to the playbook (status_code + body) instead of raising.

    Default true

  • Verify SSL verify_ssl checkbox

    Default true

Operations · 12

  • HTTP Request (Any Method) 10 params
    http_request

    Perform an HTTP request with a user-selected method. Most flexible action.

    • Method method select required

      HTTP verb to use for this request.

      Default GET

      Options GETPOSTPUTPATCHDELETEHEADOPTIONS
    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default none

      Options nonejsonformrawmultipart
    • Body data json

      Body payload. Shape depends on Body Type. For 'raw' a string is accepted. For 'multipart' use a dict of fields.

    • Timeout (seconds, override) timeout integer

      Per-request timeout in seconds. Overrides the connection-level timeout for this step only.

    • Follow Redirects follow_redirects checkbox

      When enabled, HTTP 3xx redirects are followed automatically. Disable to inspect the redirect response directly.

      Default true

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    • Raw Response (binary-safe) raw_response checkbox

      Return content as base64 instead of parsing. Use for binary downloads.

      Default false

    Returns status_codeheadersbody
  • HTTP GET 7 params
    http_get

    Perform an HTTP GET request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Timeout (seconds, override) timeout integer

      Per-request timeout in seconds. Overrides the connection-level timeout for this step only.

    • Follow Redirects follow_redirects checkbox

      When enabled, HTTP 3xx redirects are followed automatically. Disable to inspect the redirect response directly.

      Default true

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    • Raw Response (binary-safe) raw_response checkbox

      Return raw bytes as base64 instead of parsing the body. Use for binary downloads, PDFs, or responses with non-JSON content types.

      Default false

    Returns status_codeheadersbody
  • HTTP POST 9 params
    http_post

    Perform an HTTP POST request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default json

      Options nonejsonformrawmultipart
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Timeout (seconds, override) timeout integer

      Per-request timeout in seconds. Overrides the connection-level timeout for this step only.

    • Follow Redirects follow_redirects checkbox

      When enabled, HTTP 3xx redirects are followed automatically. Disable to inspect the redirect response directly.

      Default true

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    • Raw Response (binary-safe) raw_response checkbox

      Return raw bytes as base64 instead of parsing the body. Use for binary downloads, PDFs, or responses with non-JSON content types.

      Default false

    Returns status_codeheadersbody
  • HTTP PUT 6 params
    http_put

    Perform an HTTP PUT request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default json

      Options nonejsonformrawmultipart
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    Returns status_codeheadersbody
  • HTTP PATCH 6 params
    http_patch

    Perform an HTTP PATCH request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default json

      Options nonejsonformrawmultipart
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    Returns status_codeheadersbody
  • HTTP DELETE 6 params
    http_delete

    Perform an HTTP DELETE request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default none

      Options nonejsonformraw
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    Returns status_codeheadersbody
  • HTTP HEAD 2 params
    http_head

    Perform an HTTP HEAD request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    Returns status_codeheaders
  • HTTP OPTIONS 2 params
    http_options

    Perform an HTTP OPTIONS request.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    Returns status_codeheadersbody
  • HTTP Paginate 12 params
    http_paginate

    Walk a paginated endpoint and concatenate the results. Supports RFC 5988 Link header, next-URL-in-body, and bumped page-param modes.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Method method select

      HTTP verb to use for this request.

      Default GET

      Options GETPOST
    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default none

      Options nonejsonformraw
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Pagination Mode pagination_mode select required

      How to advance through pages. link_header = follow RFC 5988 Link: <url>; rel=next header. next_url_path = next URL is at a dot-path inside the JSON body. page_param = increment a numeric query parameter.

      Default link_header

      Options link_headernext_url_pathpage_param
    • Items Path items_path text

      Dot/bracket path to the list of records inside each page's response body. e.g. 'data.results'. Leave blank if the body itself is the list.

    • Next URL Path (next_url_path mode) next_url_path text

      Dot/bracket path inside the response body where the next-page URL is found. Only used in next_url_path mode. e.g. 'links.next' or 'meta.nextUrl'.

    • Page Param Name (page_param mode) page_param_name text

      Query parameter name to increment for each page. Only used in page_param mode. e.g. 'page' or 'offset'.

      Default page

    • Start Page start_page integer

      Starting page number for page_param mode.

      Default 1

    • Max Pages max_pages integer

      Maximum number of pages to fetch before stopping, regardless of whether more pages exist. Guards against runaway pagination.

      Default 50

    Returns itemspages_fetchedtruncated
  • Fetch Records (Ingestion) 11 params
    fetch_records

    Calls a configured endpoint, optionally paginates, plucks records via response_path, and returns them as a flat list. Used by scheduled data ingestion and available on-demand.

    • Fetch URL fetch_url text required

      Absolute URL or path to call for each scheduled ingestion run. Overrides the connection-level Fetch URL if set.

    • Method method select

      HTTP verb to use for this request.

      Default GET

      Options GETPOST
    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default none

      Options nonejsonformraw
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    • Pagination Mode pagination_mode select

      How to advance through pages. link_header = follow RFC 5988 Link: <url>; rel=next header. next_url_path = next URL is at a dot-path inside the JSON body. page_param = increment a numeric query parameter.

      Default none

      Options nonelink_headernext_url_pathpage_param
    • Next URL Path (next_url_path mode) next_url_path text

      Dot/bracket path inside the response body where the next-page URL is found. Only used in next_url_path mode. e.g. 'links.next' or 'meta.nextUrl'.

    • Page Param Name (page_param mode) page_param_name text

      Query parameter name to increment for each page. Only used in page_param mode. e.g. 'page' or 'offset'.

      Default page

    • Max Pages max_pages integer

      Maximum number of pages to fetch before stopping, regardless of whether more pages exist. Guards against runaway pagination.

      Default 50

    Returns recordscount
  • Upload File 16 params
    upload_file

    Stream-upload a file to an arbitrary HTTP endpoint. Accepts a FortiSOAR attachment @id, file IRI, or attachment record. Supports multipart and raw-body modes; never buffers the file through the playbook engine.

    • URL or Path rest_api text required

      Destination. {filename} placeholder is substituted with the source file's name (URL-encoded).

    • Method method select

      HTTP verb to use for this request.

      Default POST

      Options POSTPUT
    • Attachment @id / IRI attachment_id text

      Pass the attachment's @id, file IRI, or an attachment record object.

    • File IRI (alternative) file_iri text

      FortiSOAR File IRI (e.g. /api/3/files/<uuid>). Alternative to Attachment @id. Use when you already have a direct file reference.

    • Local File Path (advanced) file_path text

      Optional. Absolute path on the integration agent; bypasses attachment lookup.

    • Filename Override filename text
    • Upload Mode upload_mode select

      multipart = standard form-file upload. raw_body = file bytes are the request body (filebrowser, S3 PUT, etc.).

      Default multipart

      Options multipartraw_body
    • Multipart Field Name field_name text

      Multipart form field name for the file part. Default is 'file'. Only applies in multipart mode.

      Default file

    • Extra Multipart Fields extra_fields json

      Additional form fields to send alongside the file (multipart mode only).

    • Content Type content_type text

      MIME type sent as the file's Content-Type. e.g. 'text/csv', 'application/pdf'. Defaults to application/octet-stream.

      Default application/octet-stream

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Timeout (seconds, override) timeout integer

      Per-request timeout in seconds. Overrides the connection-level timeout for this step only.

      Default 300

    • Follow Redirects follow_redirects checkbox

      When enabled, HTTP 3xx redirects are followed automatically. Disable to inspect the redirect response directly.

      Default true

    • Response Path response_path text

      Dot/bracket path to pluck from the JSON response body before returning. e.g. 'data.results' or 'items[0].id'. Leave blank to return the full body.

    • Raw Response (binary-safe) raw_response checkbox

      Return raw bytes as base64 instead of parsing the body. Use for binary downloads, PDFs, or responses with non-JSON content types.

      Default false

    Returns status_codeheadersbodyuploaded
  • Download File 13 params
    download_file

    Download a remote URL and save the response body as a FortiSOAR attachment (or to disk on the integration agent). Streams bytes, so large files never go through the playbook engine. The reverse of Upload File.

    • URL or Path rest_api text required

      Absolute URL or path relative to the configured Server URL. e.g. /api/v1/things or https://other.example.com/endpoint

    • Method method select

      GET for normal downloads. POST only if the endpoint requires a request body to produce the file.

      Default GET

      Options GETPOST
    • Create FortiSOAR Attachment create_attachment checkbox

      When true (default), creates an Attachment record visible in File Management. When false, leaves the file on the integration agent and returns its path.

      Default true

    • Attachment Name attachment_name text

      Display name for the Attachment record. Defaults to the resolved filename.

    • Description description text

      Description stored on the Attachment record in FortiSOAR.

    • Filename Override filename text

      Force a specific filename. Otherwise the connector uses Content-Disposition, then the URL basename, then 'download.bin'.

    • Max Size (MB) max_size_mb integer

      Safety cap: abort the download and clean up the staged file if the response body exceeds this many megabytes. 0 (default) means unlimited.

      Default 0

    • Query Parameters parameter json

      Key/value pairs appended to the URL as query string. Accepts {"key":"value"} or [{"key":"k","value":"v"}] format.

    • Headers header json

      Additional HTTP headers for this request. Merged with Default Custom Headers from the connection config; per-call values win on conflict.

    • Body Type body_type select

      How to encode the request body. json = JSON-encoded object. form = URL-encoded form fields. raw = send the string as-is. multipart = multipart/form-data (file upload). none = no body.

      Default none

      Options nonejsonformraw
    • Body data json

      Request body payload. Shape depends on Body Type. For json/form pass a dict; for raw pass a string; for multipart pass a dict of field names to values.

    • Timeout (seconds, override) timeout integer

      Per-request timeout in seconds. Overrides the connection-level timeout for this step only.

      Default 300

    • Follow Redirects follow_redirects checkbox

      When enabled, HTTP 3xx redirects are followed automatically. Disable to inspect the redirect response directly.

      Default true

    Returns status_codeheadersdownloaded
Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000