> ## 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.

# 대화 목록 API: 담당자 및 읽지 않은 메시지 수

> GET /v3/messages/conversations/는 Didit Messages API 대화 목록을 담당 멤버와 읽지 않은 답장 수와 함께 반환하며, 상태나 담당자로 필터링할 수 있습니다.

Didit의 List Conversations API는 애플리케이션의 대화 목록을 반환하며, 각 대화에는 해당 대화를 소유한 멤버와 읽지 않은 답장 수가 포함됩니다.
대화는 모든 채널에서 한 사람과 주고받은 모든 메시지를 하나로 묶은 것입니다.

`status`(`open`, `needs_reply` 또는 `closed`)와 `assignee`로 필터링하고, `limit`과 `offset`으로 페이지를 나눕니다.
`assignee`에는 대화의 `assignee` 필드에 표시된 그대로의 멤버 ID를 입력하며, 해당 멤버에게 할당된 대화만 목록에 포함합니다.
`unread_count`는 `read_up_to`로 대화를 마지막으로 읽은 이후에 도착한 답장 수를 셉니다. 이 값은 멤버가 아니라 대화에 속합니다.

범위가 지정된 API 키에는 메시지와 세션에 대한 읽기 권한이 필요하며, 워크플로 제한과 승인된 세션만 허용하는 세션 제한이 적용됩니다. 이 범위를 벗어난 대화는 목록에서 제외됩니다.

```bash theme={null}
curl 'https://verification.didit.me/v3/messages/conversations/?status=needs_reply' \
  -H "x-api-key: $DIDIT_API_KEY"
```

관련: [대화 할당 또는 읽음 표시](https://docs.didit.me/ko/standalone-apis/messages-conversation-update.md) 및 [특정 대화의 이벤트에 URL 구독하기](https://docs.didit.me/ko/standalone-apis/messages-conversation-webhook-create.md)


## OpenAPI

````yaml ko/openapi-25.json GET /v3/messages/conversations/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: Identity verification API. Authenticate with x-api-key header.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link, connections, accounts, balances, transactions, institutions and
      coverage. One-time reads of real banks are open to live applications.
      Ongoing access with real banks is not open yet for live applications: it
      is available for sandbox applications with the Didit Test Bank, and opens
      country by country. Nothing is charged in sandbox. A call made with an API
      key needs a key that can reach Bank data: a full-access key can, and a
      scoped key needs `bank-data` in its scopes (read for reads, write for
      operations that change something). A scoped key without it is refused, and
      the call answers `403 bank_data_access_denied`. The account check is the
      exception: it needs write access to sessions, or full access, and not the
      Bank data scope. Raw bank data (accounts, balances, transactions and the
      change feed) also refuses a request that carries no API key.


      Every refusal under `/v3/bank/` except the account check's has the same
      JSON body (`code`, `message`, `request_id`, `field`, `next_action`,
      `retry_after`). A path that is not an operation, an id that is not a UUID
      or an unknown sub-resource answers `404 not_found` for every method, and
      any unexpected error answers `500 internal_error` with a `request_id`.
      Where Bank data is not available, every operation answers the platform's
      standard `404`, exactly as an unknown route does.
paths:
  /v3/messages/conversations/:
    get:
      tags:
        - Messages
      summary: List conversations
      description: >-
        Your application's conversations: the member who owns each thread and
        how many replies arrived since the conversation was last read. A
        conversation groups every message exchanged with one person, on every
        channel.


        `status` filters on `open`, `needs_reply` (the person wrote last and
        nobody answered) or `closed`; `assignee` takes a member id, exactly as a
        conversation's `assignee` shows it, and lists only that member's
        conversations.


        A scoped API key needs read access to messages and to sessions, and its
        workflow and approved-only session limits apply: a conversation outside
        them is left out of the list.
      operationId: listMessageConversations
      parameters:
        - name: status
          in: query
          schema:
            type: string
            enum:
              - open
              - needs_reply
              - closed
          description: >-
            `needs_reply`: the person wrote last and nobody answered yet.
            `closed`: a team member closed the thread.
        - name: assignee
          in: query
          schema:
            type: string
            maxLength: 64
          description: >-
            A member's id, exactly as `assignee` shows it on a conversation:
            only the conversations assigned to that member are listed. The value
            is compared as it is; this operation takes your application's
            credential, which has no member behind it.
        - name: limit
          in: query
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
            minimum: 0
      responses:
        '200':
          description: A page of conversations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageConversationList'
              example:
                count: 1
                next: null
                previous: null
                results:
                  - conversation_id: 6f0c2a8e-3b1d-4c5e-9a7f-2d8b1e4c6a90
                    assignee: mem_ana
                    unread_count: 2
        '400':
          description: >-
            `status` is not `open`, `needs_reply` or `closed`, or `assignee` is
            longer than 64 characters. The body names the parameter, for example
            `{"status": ["\"done\" is not a valid choice."]}`.
        '403':
          description: A scoped API key without read access to messages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageAccessDenied'
        '429':
          $ref: '#/components/responses/RateLimitedRead'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X GET
            'https://verification.didit.me/v3/messages/conversations/?status=needs_reply'
            \
              -H 'x-api-key: YOUR_API_KEY'
components:
  schemas:
    MessageConversationList:
      type: object
      required:
        - count
        - next
        - previous
        - results
      properties:
        count:
          type: integer
        next:
          type: string
          format: uri
          nullable: true
        previous:
          type: string
          format: uri
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/MessageConversation'
    MessageAccessDenied:
      type: object
      description: 'A request the API key may not make: `detail` says why (no `code`).'
      required:
        - detail
      properties:
        detail:
          type: string
          example: This API key has no write access to messages.
    MessageConversation:
      type: object
      description: >-
        One conversation: every message exchanged with one person, on every
        channel.
      required:
        - conversation_id
        - assignee
        - unread_count
      properties:
        conversation_id:
          type: string
          format: uuid
          description: The conversation.
          example: 6f0c2a8e-3b1d-4c5e-9a7f-2d8b1e4c6a90
        assignee:
          type: string
          nullable: true
          description: The member who owns the conversation, or `null` when nobody does.
        unread_count:
          type: integer
          description: >-
            Inbound messages that arrived after the conversation was last read
            (with `read_up_to`). It belongs to the conversation, not to a
            member.
    RateLimitBudgetError:
      type: object
      description: >-
        Returned only for a rate-limit middleware budget refusal. Other 429
        errors, including idempotency conflicts and endpoint-specific caps, do
        not promise these metadata fields.
      required:
        - detail
        - reference
        - limit
        - remaining
        - reset
        - window_seconds
      properties:
        detail:
          type: string
          description: Existing human-readable budget refusal message.
        reference:
          type: string
          pattern: ^RL-[0-9a-f]{32}$
          description: >-
            Opaque support reference: RL- followed by 32 lowercase UUID
            hexadecimal characters.
        limit:
          type: integer
          description: Budget for the exceeded scope; equals X-RateLimit-Limit.
        remaining:
          type: integer
          minimum: 0
          description: Remaining budget, clamped to zero; equals X-RateLimit-Remaining.
        reset:
          type: integer
          format: int64
          description: Window reset time in Unix seconds; equals X-RateLimit-Reset.
        window_seconds:
          type: integer
          description: >-
            Fixed-window duration in seconds, not the remaining wait. Honor
            Retry-After before retrying.
      example:
        detail: >-
          Write request rate limit exceeded. You can make up to 300 requests per
          minute.
        reference: RL-00000000000040008000000000000001
        limit: 300
        remaining: 0
        reset: 1794358860
        window_seconds: 60
  responses:
    RateLimitedRead:
      description: Middleware read budget exceeded. Honor Retry-After before retrying.
      headers:
        Retry-After:
          $ref: '#/components/headers/BudgetRetryAfter'
        X-RateLimit-Scope:
          $ref: '#/components/headers/BudgetXRateLimitScope'
        X-RateLimit-Limit:
          $ref: '#/components/headers/BudgetXRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/BudgetXRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/BudgetXRateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitBudgetError'
          example:
            detail: >-
              GET request rate limit exceeded. You can make up to 600 requests
              per minute.
            reference: RL-00000000000040008000000000000001
            limit: 600
            remaining: 0
            reset: 1794358860
            window_seconds: 60
  headers:
    BudgetRetryAfter:
      description: >-
        Seconds to wait, rounded up to the next window. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitScope:
      description: >-
        The scope whose budget was exceeded. Present on middleware budget
        refusals.
      schema:
        type: string
    BudgetXRateLimitLimit:
      description: >-
        Budget for the exceeded scope; equals body limit. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitRemaining:
      description: >-
        Remaining budget, clamped to zero; equals body remaining. Present on
        middleware budget refusals.
      schema:
        type: integer
    BudgetXRateLimitReset:
      description: >-
        Reset time in Unix seconds; equals body reset. Present on middleware
        budget refusals.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your application's API key, from Developers -> API keys in the Business
        Console. The primary key has full access. A named key can be scoped:
        none, read or write per resource, limited to some workflows or to
        approved sessions, to a list of IP addresses, and to an expiry date. 401
        means the key is wrong, revoked or expired; 403 means no key was sent,
        the key has no access to this resource or action, or the request came
        from an address outside its IP list; 404 on a session route means the
        session is outside the key's workflows or statuses. A key without media
        access receives image, video and PDF URLs as null, and a key without
        sessions write receives session links and tokens as null. See
        https://docs.didit.me/console/api-keys.

````

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