> ## 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 - トラベルルールのメール

> Didit Management APIで、メールレールによるトラベルルール送金のメッセージを、ピックアップリンク経由で取引相手のVASP側から取得します。

ピックアップメッセージ一覧取得APIプロンプト
プロンプトをクリップボードにコピー

<pre>
  \`Read the messages of an EMAIL-rail Travel Rule transfer as the counterparty VASP sees them.

  Endpoint:
  GET [https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/](https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/)

  Authentication:
  None - the one-time pickup link token is the credential.

  What to read from the response:

  * A plain array, oldest first, from the counterparty's side: what the customer sent has direction INBOUND and its author is the customer's VASP name.

  Failure modes:

  * 404 - unknown token.
  * 410 - the pickup link expired or the transfer is closed.

  Full guide: /transaction-monitoring/travel-rule#messages-and-document-requests.\`
</pre>

貼り付け先


## OpenAPI

````yaml ja/openapi-25.json GET /v3/travel-rule/pickup/{token}/messages/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: 本人確認API。x-api-keyヘッダーで認証します。
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/pickup/{token}/messages/:
    get:
      tags:
        - Travel Rule
      summary: ピックアップメッセージを一覧表示
      description: >-
        公開、認証不要。取引相手VASPから見たEMAILレールの送金のメッセージです。顧客が送信したものは`INBOUND`となり、顧客のVASP名で署名されます。トークンが認証となります。
      operationId: listTravelRulePickupMessages
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 取引相手側からのメッセージです。古い順に並びます。
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TravelRuleMessage'
        '404':
          description: 不明なトークンです。
        '410':
          description: 受け取りリンクが期限切れになっているか、送金がクローズされています。
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl
            https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/
components:
  schemas:
    TravelRuleMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
        direction:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
          description: '`OUTBOUND`は閲覧者自身の側が送信したものです。受け取りポータルでは、方向は取引相手の側から見たものになります。'
        author:
          type: string
          description: それぞれの側でこれを記入した者です。コンソールユーザーのメールアドレスまたはAPIキーのラベル、あるいは相手方VASPの名前です。
        body:
          type: string
        requested_documents:
          type: array
          items:
            type: string
          description: DOCUMENT_REQUESTが求めている内容（依頼者の言葉で記載）。
        reply_to:
          type: string
          format: uuid
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
          description: DOCUMENT_REQUESTへの返信に書類が含まれた時点で、そのDOCUMENT_REQUESTに設定されます。
        attachment:
          $ref: '#/components/schemas/TravelRuleMessageAttachment'
        created_at:
          type: string
          format: date-time
    TravelRuleMessageAttachment:
      type: object
      nullable: true
      description: メッセージに添付された書類です。他の取引書類と同様に保存されます。
      properties:
        uuid:
          type: string
          format: uuid
        label:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        uploaded_by:
          type: string
          nullable: true
          description: >-
            添付した主体。受け取りポータルでは、送信したファイルにはVASP名が表示され、その背後にいる人物やAPIキーが表示されることはありません。
        created_at:
          type: string
          format: date-time
        files:
          type: array
          items:
            type: object
            properties:
              uuid:
                type: string
                format: uuid
              file_url:
                type: string
                nullable: true
                description: 期限付きのダウンロードURL。
              original_filename:
                type: string
              file_size:
                type: integer

````

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