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

# List party suspensions

> Lists suspended parties, newest first. While a suspension is `ACTIVE`, every new transaction naming that party as customer or counterparty is rejected at ingest. Filter with `status`, `partyRefType` and `partyRef` (the suspended `party.refType` and `party.ref`), `createdAfter` and `createdBefore`.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/party-suspensions/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/party-suspensions/:
    get:
      tags:
        - Party suspensions
      summary: List party suspensions
      description: >-
        Lists suspended parties, newest first. While a suspension is `ACTIVE`,
        every new transaction naming that party as customer or counterparty is
        rejected at ingest. Filter with `status`, `partyRefType` and `partyRef`
        (the suspended `party.refType` and `party.ref`), `createdAfter` and
        `createdBefore`.
      operationId: party_suspensions_list
      parameters:
        - in: query
          name: created_after
          schema:
            type: string
            format: date-time
          description: Only records created at or after this time
        - in: query
          name: created_before
          schema:
            type: string
          description: >-
            Only records created up to this bound. A date alone (`YYYY-MM-DD`)
            includes the whole of that day; a full timestamp is applied exactly
            as given
        - in: query
          name: is_test
          schema:
            type: boolean
          description: >-
            Selects test data instead of live. Omitted, the list is live-only,
            so a test integration cannot inflate what a reviewer reads; send it
            empty to get both
        - in: query
          name: party_ref
          schema:
            type: string
          description: >-
            Only suspensions whose party's `ref` (party id or account) contains
            this text
        - in: query
          name: party_ref_type
          schema:
            type: string
            enum:
              - ACCOUNT
              - PARTY_ID
          description: |-
            Whether `party_ref` is a party id or an account

            * `PARTY_ID` - Party id
            * `ACCOUNT` - Account
        - in: query
          name: status
          schema:
            type: string
            enum:
              - ACTIVE
              - LIFTED
          description: |-
            ACTIVE while the party is barred; LIFTED once an analyst lifted it

            * `ACTIVE` - Active
            * `LIFTED` - Lifted
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPartySuspensionList'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PaginatedPartySuspensionList:
      type: object
      required:
        - items
        - total
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/PartySuspension'
        total:
          type: integer
          description: How many items the list holds
    PartySuspension:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        party:
          allOf:
            - $ref: '#/components/schemas/SuspendedParty'
          readOnly: true
          description: The party the suspension bars
        status:
          allOf:
            - $ref: '#/components/schemas/PartySuspensionStatusEnum'
          readOnly: true
          description: |-
            ACTIVE while the party is barred; LIFTED once an analyst lifted it

            * `ACTIVE` - Active
            * `LIFTED` - Lifted
        reason:
          type: string
          readOnly: true
          description: Why the party was suspended
        ruleId:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        ruleName:
          type: string
          readOnly: true
        transactionId:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        suspendedAt:
          type: string
          format: date-time
          readOnly: true
          description: When the suspension took effect
        origin:
          allOf:
            - $ref: '#/components/schemas/PartySuspensionOriginEnum'
          readOnly: true
          description: >-
            What suspended the party: a rule outcome, an analyst, or a workflow
            step


            * `RULE` - Rule

            * `MANUAL` - Analyst

            * `WORKFLOW` - Workflow
        createdById:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        createdByName:
          type: string
          nullable: true
          readOnly: true
          description: Name of the assigned user, or null when nobody is assigned
        workflowExecutionId:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        workflowName:
          type: string
          readOnly: true
          description: >-
            The workflow whose step suspended the party; null for any other
            origin
        liftedAt:
          type: string
          format: date-time
          readOnly: true
          nullable: true
          description: When the suspension was lifted
        liftedById:
          type: string
          format: uuid
          readOnly: true
          nullable: true
        liftedByName:
          type: string
          nullable: true
          readOnly: true
          description: Name of the assigned user, or null when nobody is assigned
        liftReason:
          type: string
          readOnly: true
          nullable: true
          description: Why the suspension was lifted
        isTest:
          type: boolean
          readOnly: true
          description: >-
            True when this record is test data rather than live monitoring data;
            derived from the record it originates from, never set by hand
        createdAt:
          type: string
          format: date-time
          readOnly: true
        refusedAttemptCount:
          type: integer
          readOnly: true
          default: 0
          description: Transactions rejected at ingest because of this suspension
        lastAttemptAt:
          type: string
          format: date-time
          readOnly: true
          description: When the latest of those transactions was rejected
      required:
        - createdAt
        - createdById
        - createdByName
        - id
        - isTest
        - lastAttemptAt
        - liftReason
        - liftedAt
        - liftedById
        - liftedByName
        - origin
        - partnerId
        - party
        - reason
        - refusedAttemptCount
        - ruleId
        - ruleName
        - status
        - suspendedAt
        - transactionId
        - workflowExecutionId
        - workflowName
    SuspendedParty:
      type: object
      properties:
        ref:
          type: string
          description: The party id or account the suspension matches on
          maxLength: 255
        refType:
          allOf:
            - $ref: '#/components/schemas/RefTypeEnum'
          description: |-
            Whether `ref` is a party id or an account

            * `PARTY_ID` - Party id
            * `ACCOUNT` - Account
        name:
          type: string
          nullable: true
          description: >-
            The party's display name, from the triggering transaction or the
            latest one naming it
        country:
          type: string
          nullable: true
          description: The party's ISO country code, read off the same transactions
        type:
          type: string
          nullable: true
          description: PERSON or COMPANY, read off the same transactions
      required:
        - country
        - name
        - ref
        - refType
        - type
    PartySuspensionStatusEnum:
      enum:
        - ACTIVE
        - LIFTED
      type: string
      description: |-
        * `ACTIVE` - Active
        * `LIFTED` - Lifted
    PartySuspensionOriginEnum:
      enum:
        - RULE
        - MANUAL
        - WORKFLOW
      type: string
      description: |-
        * `RULE` - Rule
        * `MANUAL` - Analyst
        * `WORKFLOW` - Workflow
    RefTypeEnum:
      enum:
        - PARTY_ID
        - ACCOUNT
      type: string
      description: |-
        * `PARTY_ID` - Party id
        * `ACCOUNT` - Account
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [Transaction Monitoring Dashboard: Workflows, Suspensions and Reference Lists](https://documentation.idenfy.com/guides/dashboard/transaction-monitoring/workflows-and-lists.md)
- [List monitored parties](https://documentation.idenfy.com/api-reference/transaction-monitoring/aml-monitoring/list-monitored-parties.md)
- [Retrieve one party suspension](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/retrieve-one-party-suspension.md)
- [List the case parties' other transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/alerts/list-the-case-parties-other-transactions.md)
- [List refused transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/list-refused-transactions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.