---
title: "Download the message of a of an UPA pension declaration"
method: GET
path: "/v2/providers/employers/payrolladministrations/upapensiondeclarations/{upaPensionDeclarationId}/message"
tags: ["Upa pension declaration"]
---

# Download the message of a of an UPA pension declaration

`GET /v2/providers/employers/payrolladministrations/upapensiondeclarations/{upaPensionDeclarationId}/message`

__Activity name :__ <a href="https://developer.loket.nl/Activities/GetMessageByUpaPensionDeclarationId" target="_blank">GetMessageByUpaPensionDeclarationId</a>  

Download the message of the UPA pension declaration (pensioenaangiftebericht) in xml. Please note that this does NOT refer to the response message, but to the initial message i.e. pensioenaangiftebericht.

## Path parameters

- `upaPensionDeclarationId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket-acc/apis/loket-api.md) · [All operations](https://skmtc.net/loket-acc/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket-acc/loket-api/revisions/b32a42be97f7/schema)
