Find the attachment records associated with one CRM contact.
Before you call#
In CRM, select the workspace that owns the contact. Use List CRM contacts to find the contact’s ID. The id input is the contact ID.
Your credential needs attachments:read and access to the selected CRM workspace.
Call the action#
Save this example as payload.json and replace <contact ID> with the ID you found.
{
"id": "<contact ID>"
}Set CRM_WORKSPACE_ID to the selected workspace ID.
topolo actions call app_topolo_crm.attachments.list \
--resource-type workspace --resource-id "$CRM_WORKSPACE_ID" --data @payload.json --jsonIn Topolo MCP, use topolo_read_action and replace the placeholders.
{
"actionId": "app_topolo_crm.attachments.list",
"input": {
"id": "<contact ID>"
},
"resourceType": "workspace",
"resourceId": "<CRM workspace ID>"
}Check the result#
The response contains contactId, attachments, and count. Confirm contactId matches the contact you requested. An empty attachments array with count of 0 means the contact has no attachments in the result.
If access is refused, check your permission and workspace selection. If you supplied an ID, use the app’s list action to confirm it belongs to that workspace.