Get notification icon
Section titled “Get notification icon”GET /api/v1/notifications/icons/{iconId}
Serves a notification icon image. Icon IDs are derived from notification data (session, ID, timestamp, and file extension). Use this endpoint when rendering notification payloads that reference an icon asset.
Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
iconId | path | string | Yes | The unique identifier for the icon (e.g., 6_10_1749024932903.png) |
Response
Section titled “Response”The icon image is returned as binary content. The response includes standard cache headers and a Content-Type reflecting the image format (image/png, image/jpeg, or image/svg+xml).
Response headers
| Header | Description |
|---|---|
Content-Type | MIME type of the image (e.g., image/png) |
Cache-Control | Caching directives (e.g., public, max-age=86400) |
ETag | Entity tag for cache validation |
Last-Modified | Last modification date |
The response body is the raw image bytes — not JSON.
Client cache is still valid. The response has an empty body; honor the cached version of the icon.
{ "success": false, "error": "Not Found", "details": "The requested icon does not exist"}{ "success": false, "error": "Rate Limit Exceeded", "details": "Too many requests, please try again later"}SDK usage
Section titled “SDK usage”The iconId is passed positionally as a string.
const icon = await client.notifications.icons.get("6_10_1749024932903.png");cURL example
Section titled “cURL example”curl -O \ https://api.hoody.com/api/v1/notifications/icons/6_10_1749024932903.png