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

# Get a single failed attempt from a single webhook message.

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

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/webhooks/{id}/messages/{messageId}/attempts/{attemptId}`
- 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 message fails to send it will store the failure in an "attempt". You can view and analyse these. Webhooks messages that receive too many attempts (failures) will not be fired. You must first clear out old attempts and try again. This endpoint shows you the details of a single attempt. The ID of the attempt must match the corresponding webhook and webhook message.

## Path parameters

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

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A single webhook attempt.

- WebhookAttemptSingle
  - `data` WebhookAttemptRead, required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` WebhookAttempt, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `webhook_message_id` string, string: The ID of the webhook message this attempt belongs to.
      - `status_code` integer, nullable: The HTTP status code of the error, if any.
      - `logs` string, string, nullable: Internal log for this attempt. May contain sensitive user data.
      - `response` string, amount, nullable: Webhook receiver response for this attempt, if any. May contain sensitive user data.

## 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-4-14.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-14/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-14/revisions/73f0baf3c408?raw)
