---
title: Retrieve specific account event
slug: reference/retrieve-specific-account-event
docTags: 
createdAt: 2025-08-13T21:16:12.609Z
---

{
  "id": "l2GTVHCo4orh-4XLUGe-t",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://app.amberflo.io/account-event/{id}",
    "servers": [
      {
        "url": "https://app.amberflo.io/account-event/{id}"
      }
    ],
    "name": "Retrieve specific account event",
    "description": "<p>Retrieves detailed information for a specific account event by its unique identifier.\nUse this endpoint to get comprehensive details about a particular event, including\nfull payload data, timestamps, and processing status.</p>\n<p>This is particularly useful for:</p>\n<ul>\n<li>Investigating specific webhook delivery failures</li>\n<li>Debugging notification alert issues</li>\n<li>Analyzing individual system events in detail</li>\n<li>Retrieving complete event context for troubleshooting</li>\n</ul>\n<p><strong>Important Note:</strong> Events are retained for 90 days. After this period,\nthe event will return a 404 error.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "id",
          "type": "string",
          "description": "Unique identifier for the account event to retrieve. Format is UUID v4."
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "api_key",
          "name": "x-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Account event details with complete payload and processing information",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Account event record containing system activity and processing details.",
            "customType": "account-event",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "string",
                "description": "Unique identifier for the account event. Format is UUID v4.",
                "example": ""
              },
              {
                "name": "customerId",
                "kind": "optional",
                "type": "string",
                "description": "Customer identifier associated with the event, if applicable to specific customer.",
                "example": ""
              },
              {
                "name": "level",
                "kind": "optional",
                "type": "string<INFO | WARN | ERROR>",
                "description": "Event severity level indicating importance. Values are INFO, WARN, ERROR.",
                "example": ""
              },
              {
                "name": "domain",
                "kind": "optional",
                "type": "string",
                "description": "Event domain category such as webhooks, notifications, or billing operations.",
                "example": ""
              },
              {
                "name": "eventType",
                "kind": "optional",
                "type": "string",
                "description": "Specific event type identifier within the domain for detailed categorization.",
                "example": ""
              },
              {
                "name": "eventTime",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "ISO-8601 timestamp when the event occurred. Example 2025-09-27T12:34:56Z.",
                "example": ""
              },
              {
                "name": "details",
                "kind": "optional",
                "type": "object",
                "description": "Additional event-specific data and context information, varies by event type.",
                "example": "",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/account-event",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Invalid event ID format or malformed request",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "401",
        "description": "Missing or invalid API key authentication",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Insufficient permissions to access this resource",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Account event not found or expired (older than 90 days)",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "500",
        "description": "Internal server error occurred while processing request",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "jGCRV48hJLlFf1uQRZjcM",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://app.amberflo.io/account-event/{id} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "qhkrgoTtyyWxiHkNms1VH",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://app.amberflo.io/account-event/{id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "b-KbkaDGcb9vhNlgVm4LF",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://app.amberflo.io/account-event/{id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "cFtsAIncmg3oGkh93XY4c",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://app.amberflo.io/account-event/{id}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "jGCRV48hJLlFf1uQRZjcM"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Account event details with complete payload and processing information\n{\n  \"id\": \"\",\n  \"customerId\": \"\",\n  \"level\": \"\",\n  \"domain\": \"\",\n  \"eventType\": \"\",\n  \"eventTime\": \"\",\n  \"details\": {}\n}"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Invalid event ID format or malformed request\n"
        },
        {
          "id": "response-2-401",
          "language": "401",
          "code": "// Missing or invalid API key authentication\n"
        },
        {
          "id": "response-3-403",
          "language": "403",
          "code": "// Insufficient permissions to access this resource\n"
        },
        {
          "id": "response-4-404",
          "language": "404",
          "code": "// Account event not found or expired (older than 90 days)\n"
        },
        {
          "id": "response-5-500",
          "language": "500",
          "code": "// Internal server error occurred while processing request\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": "",
      "id": "QnoZzGj3aC92CgkYKsd5n"
    }
  ]
}