TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to retrieve a single "Message Channel Message Association" object by its unique identifier. It is useful when you need detailed information about a specific message association within a messaging channel, including optionally nested related objects depending on the depth level specified.

Common scenarios include:

  • Fetching metadata or status of a particular message association for auditing or display.
  • Retrieving related objects linked to the message association to understand context or relationships.
  • Integrating with other systems that require detailed message association data.

Example: You want to get details about a message association with ID 12345 and also include directly related objects (depth 1) to show in your application.

Properties

Name Meaning
Id The unique identifier of the message channel message association object to retrieve. This is required.
Depth Determines how many levels of nested related objects to include in the response:
- 0: Only the primary object's information.
- 1: Primary object plus directly related objects.
- 2: Primary object, directly related objects, and their related objects.

Output

The output JSON contains the retrieved message channel message association object. Depending on the Depth property, this object may include nested related objects up to two levels deep.

If the node supports binary data output (not indicated here), it would typically represent attachments or media related to the message association, but no such binary output is evident from the provided code.

Dependencies

  • Requires an API key credential to authenticate requests against the Twenty API service.
  • The base URL for API requests is configured via credentials.
  • Uses the OpenAPI specification bundled (twenty-v1.0.3-openapi.json) to build request properties and handle communication.

Troubleshooting

  • Missing or invalid Id: The node requires a valid Id to fetch the message association. Ensure the Id is correct and exists.
  • Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
  • Depth value issues: Using unsupported depth values might cause unexpected results; use only 0, 1, or 2.
  • Network or API errors: Check connectivity and API availability if requests fail.

Links and References

Discussion