---
title: "Get a single message from a webhook."
method: GET
path: "/v1/webhooks/{id}/messages/{messageId}"
tags: ["webhooks"]
---

# Get a single message from a webhook.

`GET /v1/webhooks/{id}/messages/{messageId}`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/webhooks/{id}/messages/{messageId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

When a webhook is triggered it will store the actual content of the webhook in a webhook message. You can view and analyse a single one using this endpoint.

## Path parameters

- `id` string, required
- `messageId` integer, required

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A single webhook message.

- WebhookMessageSingle
  - `data` WebhookMessageRead, required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` WebhookMessage, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `sent` boolean: If this message is sent yet.
      - `errored` boolean: If this message has errored out.
      - `webhook_id` string, string: The ID of the webhook this message belongs to.
      - `uuid` string, string: Long UUID string for identification of this webhook message.
      - `message` string, string, nullable: The actual message that is sent or will be sent as JSON string.

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-5.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-5/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-5/revisions/906276730447?raw)
