> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Network Membership Lookup

export const AgentPromptAccordion = ({prompt, title = "AI Agent Integration Prompt"}) => {
  const [copied, setCopied] = React.useState(false);
  const handleCopy = e => {
    e.stopPropagation();
    if (!prompt) return;
    navigator.clipboard.writeText(prompt.trim()).then(() => {
      setCopied(true);
      setTimeout(() => setCopied(false), 2000);
    });
  };
  const agents = ["Claude Code", "Codex", "Cursor", "Devin", "Windsurf", "GitHub Copilot"];
  return <div className="didit-agent-card">
      {}
      <div className="didit-agent-titlebar">
        <div className="didit-agent-dots" aria-hidden="true">
          <span className="didit-agent-dot didit-agent-dot-red"></span>
          <span className="didit-agent-dot didit-agent-dot-yellow"></span>
          <span className="didit-agent-dot didit-agent-dot-green"></span>
        </div>
        <span className="didit-agent-filename">{title}</span>
        <button type="button" className={`didit-agent-copy ${copied ? "didit-agent-copy-copied" : ""}`} onClick={handleCopy} title="Copy prompt to clipboard" aria-label={copied ? "Copied!" : "Copy prompt to clipboard"}>
          {copied ? <>
              <svg width="13" height="13" viewBox="0 0 16 16" fill="none">
                <path d="M3 8.5l3.5 3.5L13 4" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
              </svg>
              <span>Copied</span>
            </> : <>
              <svg width="13" height="13" viewBox="0 0 16 16" fill="none">
                <rect x="5" y="5" width="9" height="9" rx="1.5" stroke="currentColor" strokeWidth="1.5" />
                <path d="M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5" stroke="currentColor" strokeWidth="1.5" />
              </svg>
              <span>Copy</span>
            </>}
        </button>
      </div>

      {}
      <pre className="didit-agent-body"><code>{prompt.trim()}</code></pre>

      {}
      <div className="didit-agent-footer">
        <span className="didit-agent-footer-label">Paste into</span>
        <div className="didit-agent-chips">
          {agents.map(name => <span key={name} className="didit-agent-chip">{name}</span>)}
        </div>
      </div>
    </div>;
};

<AgentPromptAccordion
  title="Network Membership Lookup API Prompt"
  prompt={`Look up which fraud networks an entity belongs to through the Management API.

Authentication:
Use the x-api-key header with my Didit API key on every call.

Endpoints (all GET, all return {"results": [EntityNetworkMembership, ...]}, not paginated):
- /v3/organization/{organization_id}/application/{application_id}/sessions/{session_id}/networks/ - resolves through the session's linked vendor user.
- /v3/organization/{organization_id}/application/{application_id}/business-sessions/{business_session_id}/networks/ - resolves through the business session's linked vendor business.
- /v3/organization/{organization_id}/application/{application_id}/users/{vendor_user_uuid}/networks/
- /v3/organization/{organization_id}/application/{application_id}/businesses/{vendor_business_uuid}/networks/
- /v3/organization/{organization_id}/application/{application_id}/transactions/{transaction_uuid}/networks/ - resolves through the transaction's backing KYC/KYB session's subject.
- /v3/organization/{organization_id}/application/{application_id}/transactions/{transaction_uuid}/parties/{transaction_party_uuid}/networks/ - resolves through the party itself (remitter, beneficiary, or counterparty), independent of the backing session.

Example call:
curl -X GET "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/users/{vendor_user_uuid}/networks/" \\
-H "x-api-key: YOUR_API_KEY"

Response shape:
Each EntityNetworkMembership has network (NetworkListItem), subject, signal_types, signal_count, joined_at, last_seen_at.
An entity can belong to zero, one, or several networks - an empty results array is not an error.

Failure modes:
- 404 - the session/business session/user/business/transaction/transaction party does not exist in this application, or (for the session and transaction variants) has no linked vendor user/business to look up.
- 401/403 - auth/permission errors.

Side effects: none, pure read.

For the full integration shape, see /integration/integration-prompt.`}
/>

Given a session, business session, user, business, transaction, or transaction party, look up which fraud networks it belongs to. Every variant returns the same shape - `{"results": [EntityNetworkMembership, ...]}` - so you can point any entity you already have a UUID for at the matching endpoint without a separate lookup step.

| Entity            | Endpoint                                                                             | Resolves through                                          |
| ----------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------- |
| Session           | `GET .../sessions/{session_id}/networks/`                                            | The session's linked vendor user                          |
| Business session  | `GET .../business-sessions/{business_session_id}/networks/`                          | The business session's linked vendor business             |
| User              | `GET .../users/{vendor_user_uuid}/networks/`                                         | The vendor user directly                                  |
| Business          | `GET .../businesses/{vendor_business_uuid}/networks/`                                | The vendor business directly                              |
| Transaction       | `GET .../transactions/{transaction_uuid}/networks/`                                  | The transaction's backing KYC/KYB session's subject       |
| Transaction party | `GET .../transactions/{transaction_uuid}/parties/{transaction_party_uuid}/networks/` | The party itself (remitter, beneficiary, or counterparty) |

Each `EntityNetworkMembership` carries the network summary (`network`, same shape as [list networks](/management-api/networks/list)), the resolved `subject`, which `signal_types` connected it, `signal_count`, and `joined_at`/`last_seen_at`. An entity with no fraud connections returns an empty `results` array, not a 404.

<Note>
  The transaction endpoint resolves membership through the transaction's backing session's subject. The transaction party endpoint resolves it through the party itself, which is what you want for a remitter or beneficiary that is not the transaction's own KYC subject.
</Note>

## Related

* [List networks](/management-api/networks/list)
* [Get network](/management-api/networks/get)
* [Network members](/management-api/networks/members)
