Social API reference

Social API · Edges

post/v1/communities/{community_id}/hidesAuth

Hide a post from the actor's feeds ("not interested"). Idempotent. A hard filter — the post drops out of home + discover for that actor only.

Path parameters

community_id*string

Social community UUID. Must belong to the PAK's workspace.

Headers

Idempotency-Keystring

Opaque client-generated string (1-256 chars, `[A-Za-z0-9._:-]`) that makes a retry safe: within 24 h a repeat with the same key and body returns the original response with `Idempotent-Replay: true` instead of running again. Same key with a different body is `409 IDEMPOTENCY_KEY_REUSE`.

Request body

actor_id*string · uuid

The actor hiding the post.

Example: "aaaaaaaa-0000-0000-0000-000000000001"

post_id*string · uuid

The post to hide.

Example: "bbbbbbbb-0000-0000-0000-000000000001"

Response · 201 Post hidden.

created*boolean

`true` if the hide was created on this call; `false` on idempotent retry.

Example: true

Example

Request

POST https://social.productcraft.co/v1/communities/{community_id}/hides
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{
  "actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
  "post_id": "bbbbbbbb-0000-0000-0000-000000000001"
}

Response

{
  "created": true
}