---
title: "Register Post Action"
method: POST
path: "/api/companies/{company_uuid}/posts/actions"
tags: ["posts"]
---

# Register Post Action

`POST /api/companies/{company_uuid}/posts/actions`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/posts/actions`
- Auth: HTTP bearer

Register thumbs up/down or bookmark; post and user must belong to this company.

## Path parameters

- `company_uuid` string, uuid, required

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Request body

- PostActionRegister: Register a reaction on a post (company is taken from the URL).
  - `post_uuid` string, uuid4, required
  - `user_uuid` string, uuid4, required
  - `action_type` 'thumbs_up' | 'thumbs_down' | 'bookmark', required: thumbs_up, thumbs_down, or bookmark

## Response `200`

Successful Response

- PostActionRegisterResponse: Result of registering a post action (aligns with feed client expectations).
  - `action` 'created' | 'removed' | 'changed', required
  - `thumbs_up_count` integer, required
  - `thumbs_down_count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
