CiviCRM icon

CiviCRM

Interact with CiviCRM API v4 to manage contacts, memberships, groups, and more.

Membership → Get

AI-generated

Summary

Retrieve one CiviCRM membership by its internal ID using the API v4 Membership/get endpoint. The node returns the first matching membership record; if no record is returned, it outputs an empty object.

Inputs

  • ID (required) — Internal CiviCRM ID of the membership to retrieve.
  • Runtime Bearer Token (Optional) — Optional JWT supplied directly or by expression. When set, it authenticates this request as that user and the node does not retry with the credential API key if the response is empty or an error.
  • Base URL Override — Optional site root URL for this item, without /civicrm. Replaces the credential Base URL; a missing scheme defaults to https, and only HTTP or HTTPS is accepted.

Output shape

A single n8n item containing the first matching membership record as JSON, or an empty object if no record is found.

The request selects id, name, title, subject, and display_name. With no runtime bearer token, authentication uses the configured credential, including its JWT auto-resolve and API key fallback behavior.

Links

Discussion