Skip to main content
POST
/
v1
/
announcements
Create an announcement
curl --request POST \
  --url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/announcements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "targets": {}
}'
{
  "id": "<string>",
  "orgSlug": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "targets": {},
  "status": "draft",
  "expires_at": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Body

application/json
targets
object
required

Audience targeting object - required, validated server-side.

title
string
Maximum string length: 500
summary
string
Maximum string length: 2000
content
string
Maximum string length: 50000
icon
string
Maximum string length: 256
Maximum string length: 2048
status
enum<string>
Available options:
draft,
active,
archived
Maximum string length: 32
expires_at
string<date-time>
Maximum string length: 64

Response

Announcement created.

id
string
orgSlug
string | null
title
string
summary
string
targets
object

Audience targeting object - validated and normalized server-side by internal/validate-announcement-targets. Common shape exposes roles, permissions, products, userIds.

status
enum<string>
Available options:
draft,
active,
archived
expires_at
string
createdAt
string<date-time>