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

# Список сообщений Pickup: API Travel Rule по email

> Читайте сообщения транзакции Travel Rule, переданной по email-каналу, со стороны контрагента VASP через ссылку pickup в Didit.

Промпт 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 ru/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: >-
        Публичный, не требует аутентификации. Сообщения перевода по каналу EMAIL
        в том виде, в каком их видит VASP контрагента: отправленное клиентом
        имеет статус `INBOUND` и подписано именем VASP клиента. Аутентификацией
        выступает token.
      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: Неизвестный token.
        '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: >-
            Кто создал запись со своей стороны: email пользователя консоли,
            метка 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, как только ответ на него
            содержит документ.
        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.