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

# Elenco messaggi di pickup Travel Rule - API Email Rail

> Leggi i messaggi di un trasferimento Travel Rule via email dal lato VASP controparte, tramite il link di pickup. Didit Management API.

Prompt per l'API List Pickup Messages
Copia il prompt negli appunti

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

Incolla in


## OpenAPI

````yaml it/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 di verifica dell'identità. Autenticati con l'intestazione x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/pickup/{token}/messages/:
    get:
      tags:
        - Travel Rule
      summary: Elenca i messaggi di ritiro
      description: >-
        Pubblico, non autenticato. I messaggi di un trasferimento su circuito
        EMAIL così come vengono letti dal VASP di controparte: ciò che il
        cliente ha inviato è `INBOUND` ed è firmato con il nome del VASP del
        cliente. Il token funge da autenticazione.
      operationId: listTravelRulePickupMessages
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            I messaggi, dai meno recenti ai più recenti, provenienti dalla
            controparte.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TravelRuleMessage'
        '404':
          description: Token sconosciuto.
        '410':
          description: Il link di ritiro è scaduto o il trasferimento è chiuso.
      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` indica ciò che la tua parte ha inviato. Nel portale di
            ritiro la direzione è dal lato della controparte.
        author:
          type: string
          description: >-
            Chi lo ha scritto dalla propria parte: l'email di un utente della
            console o l'etichetta di una chiave API, oppure il nome dell'altro
            VASP.
        body:
          type: string
        requested_documents:
          type: array
          items:
            type: string
          description: >-
            Cosa richiede una DOCUMENT_REQUEST, secondo le parole del
            richiedente.
        reply_to:
          type: string
          format: uuid
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            Impostato su un DOCUMENT_REQUEST quando una risposta ad esso
            contiene un documento.
        attachment:
          $ref: '#/components/schemas/TravelRuleMessageAttachment'
        created_at:
          type: string
          format: date-time
    TravelRuleMessageAttachment:
      type: object
      nullable: true
      description: >-
        Il documento allegato a un messaggio, archiviato come qualsiasi altro
        documento di transazione.
      properties:
        uuid:
          type: string
          format: uuid
        label:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        uploaded_by:
          type: string
          nullable: true
          description: >-
            Chi lo ha allegato. Nel portale di ritiro, un file inviato mostra il
            nome del tuo VASP, mai la persona o la chiave API sottostante.
        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 di download a tempo.
              original_filename:
                type: string
              file_size:
                type: integer

````

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