ServerPublishRequest
Server publish body — used on the control plane with a secret key. Pre-trusted: bypasses your config's publish middleware and authorization.
- contentrequired
The message payload. Opaque to the platform; ≤ 2 KB.
- senderType: string
Id requiredThe sender's user id. Required on the server path (there is no user JWT to derive it from).
- kindType: string
Content class. Defaults to
text(the only value in v1). - mentionsType: array object[] · Mention[]
Declared mentions. The platform verifies each is a member, dedupes, and caps the count.
- userType: string
Id requiredThe mentioned user's id, or the platform tokens
@everyone/@channel(membership channels, capability-gated, rate-limited).
- toType: string
A member's user id. Set this to deliver to that member only (no broadcast) and write them an inbox item.
- typeType: string
Userland discriminator. Defaults to
message.