Huntress icon

Huntress

Interact with Huntress API

Actions86

Reseller → Create a Membership

AI-generated

Summary

Invites a user to a Huntress account or organization by creating a membership. Sends the account ID, invitee’s email and name, and selected permissions; an optional organization ID targets the invitation to that organization.

Inputs

  • Account Id (required) — Huntress account ID.
  • Email (required) — Email address of the user to invite.
  • First Name (required) — Invitee’s first name.
  • Last Name (required) — Invitee’s last name.
  • Permissions (required) — Permission role to grant: Admin, Security Engineer, User, Read-only, Finance, Marketing, or Provisioner. Defaults to Admin.
  • Organization Id — Optionally invite the user to an organization instead of the account.
  • Custom Body — Optional JSON merged into the request body; custom values take priority over fields above.
  • Custom Headers — Optional HTTP headers to include in the request.
  • Query Filters — Optional query-string parameter name and value pairs.
  • Batching — Groups input items into batches and pauses between batches; the node makes one request per input item.
  • Debug — When enabled, adds the URL, query parameters, headers, and body sent for each request to the output.
  • Timeout (ms) — Time to wait for response headers before aborting; defaults to 300,000 ms.

Output shape

A response from the membership creation request for each input item.

The supplied source pack shows only function and class signatures, not method bodies, so the exact response fields and any output wrapping are not visible. Pagination options are declared but are not described here because this operation creates a membership.

Links

Discussion