> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/announcement-reactions.md).

# Announcement Reactions

## POST /api/v1/employee/announcements/{employeeId}/viewed/{id}

> Mark an announcement as seen

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"employeeAPISessionId":[]}],"components":{"securitySchemes":{}},"paths":{"/api/v1/employee/announcements/{employeeId}/viewed/{id}":{"post":{"tags":["Announcement Reactions"],"description":"Mark an announcement as seen","operationId":"updateViewedCompanyAnnouncements","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}}}}
```

## POST /api/v1/employee/announcements/{employeeId}/likes/{id}

> Marks the announcement as liked by a employee

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"employeeAPISessionId":[]}],"components":{"securitySchemes":{},"schemas":{"AnnouncementHeaderForEmployeeDTO":{"type":"object","description":"Announcement header for employee: id, title, dates, images, categories, comments/reactions settings, signature.","properties":{"id":{"type":"string"},"title":{"type":"string"},"effectiveDate":{"type":"string","format":"date-time"},"announcementNumber":{"type":"string","deprecated":true},"coverImageURL":{"type":"string"},"iconImageURL":{"type":"string"},"unSeen":{"type":"boolean"},"repliesToComments":{"type":"array","items":{"type":"string"},"uniqueItems":true},"pinned":{"type":"boolean","deprecated":true},"hfBranded":{"type":"boolean"},"hfBrandedAvatarPath":{"type":"string"},"hfBrandedAuthorName":{"type":"string"},"hfBrandedAuthorRole":{"type":"string"},"resume":{"type":"string"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/CompanyFileDTO"},"uniqueItems":true},"categories":{"type":"array","items":{"$ref":"#/components/schemas/AnnouncementCategoryDTO"}},"signature":{"$ref":"#/components/schemas/SignatureDTO"},"reactionsEnabled":{"type":"boolean"},"liked":{"type":"boolean"},"likesCount":{"type":"integer","format":"int32"},"numComments":{"type":"integer","format":"int32"},"allowComments":{"type":"boolean"},"allowedCommentAttachmentTypes":{"type":"array","items":{"type":"string","enum":["IMAGE","VIDEO","EXTERNAL_GIF"]},"uniqueItems":true},"requiresCommentVerification":{"type":"boolean"},"commented":{"type":"boolean"},"canComment":{"type":"boolean"},"commentSignatureMode":{"$ref":"#/components/schemas/SignatureMode"}}},"CompanyFileDTO":{"type":"object","description":"Company file reference: name, file type, and path/URL.","properties":{"name":{"type":"string","description":"File name"},"fileType":{"type":"string","description":"MIME or file type"},"filePath":{"type":"string","description":"Path or URL to the file"}}},"AnnouncementCategoryDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"type":"string"},"count":{"type":"integer","format":"int32"}}},"SignatureDTO":{"type":"object","description":"Signature (author) of a comment: id, name, description, and profile image.","properties":{"id":{"type":"string","description":"User ID of the signer"},"name":{"type":"string","description":"Display name of the signer"},"description":{"type":"string","description":"Optional description (e.g. role)"},"profileImagePath":{"type":"string","description":"URL or path to the profile image"}}},"SignatureMode":{"type":"string","enum":["ANONYMOUS","OPTIONAL","MANDATORY","PUBLIC_MANDATORY"]}}},"paths":{"/api/v1/employee/announcements/{employeeId}/likes/{id}":{"post":{"tags":["Announcement Reactions"],"description":"Marks the announcement as liked by a employee","operationId":"employeeLikeAnnouncement","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnouncementHeaderForEmployeeDTO"}}}}}}}}}
```
