---
title: "Get all cached messages related to an arrival"
method: GET
path: "/customs/transits/movements/arrivals/{arrivalId}/messages"
tags: ["Arrivals"]
---

# Get all cached messages related to an arrival

`GET /customs/transits/movements/arrivals/{arrivalId}/messages`

Get all messages related to a specific arrival that have been received within the past 60 days.
You can filter for arrival notifications received before and/or after a specific date and time.
For a multi-page query you can filter for a specific page, and optionally the number of items per page.
Movements older than 60 days are archived, so any messages related to them cannot be returned by the API. <br/><br/> **Note:** You can view a transit movement only if your Economic Operators Registration and Identification (EORI) number matches the EORI number that created the transit declaration for that movement.  Your EORI number is part of the bearer token that you use for API authentication.

## Path parameters

- `arrivalId` string, required

## Query parameters

- `receivedSince` string, date-time
- `page` integer
- `count` integer
- `receivedUntil` string, date-time

## Headers

- `Accept` 'application/vnd.hmrc.3.0+json', required

## Response `200`

A successful get all messages related to arrival response

- object
  - `_links` object, required
    - `self` object, required
      - `href` string, required
    - `arrival` object, required
      - `href` string, required
  - `totalCount` number, required
  - `messages` object[], required
    - `_links` object, required
      - `self` object, required
        - `href` string, required
      - `arrival` object, required
        - `href` string, required
    - `id` string, required
    - `arrivalId` string, required
    - `received` string, required
    - `type` string
    - `status` string, required

## Other responses

- `404` — Arrival or Page Not Found
- `406` — Not Acceptable

---

[API](https://skmtc.net/hmrc/apis/common-transit-convention-traders.md) · [All operations](https://skmtc.net/hmrc/apis/common-transit-convention-traders/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hmrc/common-transit-convention-traders/revisions/3f42685e9ab3/schema)
