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

# Get a cached message related to an arrival and message ID

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

Get a message related to a specific arrival and message ID that have been received within the past 60 days.
For example, this could include messages about route diversions or unloading permissions.
Movements older than 60 days and their related messages are archived and cannot be returned by the API. <br/><br/> A successful response can be returned in one of the following formats based on the provided `Accept` header:

 - `application/vnd.hmrc.3.0+json-xml`: JSON-wrapped XML, where the message is provided as an XML string sent as part of JSON payload containing other metadata
 - `application/vnd.hmrc.3.0+json`: JSON, where the message is provided as a sub-document sent as part of a JSON payload containing other metadata

**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
- `messageId` string, required

## Headers

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

## Response `200`

A successful get message related to arrival and message ID response

- object
  - `_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
  - `body` string

## Other responses

- `404` — 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)
