Skip to Content
RhythmHelp Center
/

Available Documentation

  • Platform
  • CRM
  • Portals
  • Security & Settings
  • Accreditation
  • Membership
  • Finance & Billing
  • Orders & Inventory
  • Events
  • Certifications
  • Awards
  • Careers
  • Fundraising
  • Integrations
  • Sponsorships
  • Submissions

Coming Later

  • DocumentsComing Soon
CRM
  • Overview

Subjects

  • Concepts
  • Get Started
  • Tasks
  • Portal
  • Configure
  • Reference
    • Overview
    • Activities and Relationships Through the API
    • What a Contact Merge Moves
    • Contact Data Available Only Through the API
    • Access the CRM API
    • CRM Permissions Reference
    • CRM Blocks for Portal Pages
    • System Engagement Metrics
  1. Home
  2. CRM
  3. Reference

Activities and Relationships Through the API

crm api activities ‧ crm api relationships ‧ batch activity api ‧ list activities api ‧ activity owner kind ‧ relationship api ‧ rolodex api activities

On This Page
  • Reading One Record by Its ID
  • Listing and Changing Many Records at Once
  • How the API Treats an Activity's Owner
  • Related

Use this reference when you call the CRM API directly instead of working in the Console. It explains integration-only behavior, including how to read one activity or relationship by its own ID, make many changes in one request, and handle an activity's owner. For help reaching the API and finding its documentation, see Access the CRM API.

Reading One Record by Its ID ​

Record What you can do Rules 
Activity Fetch one activity by its ID, and request only certain fields if needed The activity must exist in your Rhythm account, and your session must belong to that same account. If you request an ID that exists only in another account, or your session is not valid, the request is refused as not found or unauthorized 
Relationship Fetch one relationship by its ID The same account and session rules apply as they do for activities 

These reads do not have their own Console screen. You can see activities and relationships on a contact or organization record, but reading one item by its own ID is available only through the API.

Listing and Changing Many Records at Once ​

For general bulk edits to existing records that you are not making through direct API calls, use Mass Update in the Console instead. This section covers direct API batch calls for activities and relationships, which use a separate process.

  • Listing every activity in your account. The API can return activities from your Rhythm account without requiring you to name a contact or organization first. Today, it returns only the first page and does not warn you when more activities exist. You also cannot narrow the list by activity type or date, so treat a large result as incomplete if your account has many activities.
  • Running many activity or relationship changes in one request. You can send one batch of creates, reads, updates, and deletes for activities, or send the same kind of batch for relationships, and receive the outcome for each item. Batch items run in parallel, so their order is not guaranteed. Because of that, creating an activity and then immediately replacing it in the same batch can produce an unpredictable result. If one item fails its own rules, that item is reported as failed, and the rest of the batch still runs.

Tip

Because batch items run in parallel with no guaranteed order, do not send two operations for the same activity or the same relationship in one batch.

How the API Treats an Activity's Owner ​

Every activity belongs to a contact, an organization, or both, and its owner kind records which one. The Console sets this value for you when you record an activity. This matters only when you set the value directly through the API, because the API accepts any owner kind text you send and stores it exactly as sent, without checking it against a fixed list. Rhythm still requires the activity to name at least one contact or organization and include a type and a date. If any of those are missing, the save is refused.

Related ​

  • Access the CRM API
  • Contact Data Available Only Through the API

Continue in This Subject

Next What a Contact Merge Moves

Related Articles

  • Access the CRM API

    The single public address that reaches every CRM service, and where to read the API's documentation without signing in.

  • Contact Data Available Only Through the API

    Contact abilities with no Console or Portal screen behind them, reachable only by calling the CRM API directly, including linking spouses, finding a contact by a secondary email address or by number, and finding who named a contact as their Portal delegate.

  • Record and Edit an Activity

    Log a dated activity, such as a phone call or a site visit, on a contact's or organization's timeline, fill in your account's own activity fields, and correct or remove an activity afterward.

  • Relate Two Records

    Connect two contacts or organizations with a typed relationship, such as marking a contact as another's spouse or as an organization's owner, and understand the checks Rhythm runs before saving.

On This Page

  • Reading One Record by Its ID
  • Listing and Changing Many Records at Once
  • How the API Treats an Activity's Owner
  • Related
Rhythm Help Center© Rhythm Software

Search article titles, settings, tasks, and troubleshooting topics. Press Enter to see results.

Browse Platform Documentation