CiviCRM icon

CiviCRM

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

Activity → Get

AI-generated

Summary

Retrieve a single Activity record from CiviCRM by specifying its internal ID.

Inputs

  • ID (required) — The internal CiviCRM ID of the Activity to retrieve.
  • Runtime Bearer Token (Optional) — A JWT token for a specific real user to override the node's credential authentication, used as-is for permission-scoped access.
  • Base URL Override — Optional URL to replace the credential's base URL for this API call, allowing use of a different CiviCRM instance.

Output shape

a single JSON object representing the Activity record, or an empty object if not found or no permission

The output is the first matching Activity record with the specified ID, returned as JSON. If access is restricted due to permissions when using a Runtime Bearer Token, the result may be empty without retry fallback. Errors or empty results with a Runtime Bearer Token are returned as-is without retrying with API key authentication.

Examples

Example 1: Retrieve an Activity with ID 123

Set the resource to 'Activity', operation to 'Get', and provide the ID '123'. Optionally provide a 'Runtime Bearer Token' if per-user access control is needed.

Links

Discussion