Skip to content

Post methods: update

The Post Verbs update as typed SDK methods, with inputs, result, refusals and an example.

Reference for Post, one group of Post methods.

Post.update

Changes the given properties of a Post. Verb page.

TypeScript
interface PostVerbs {
  update(input: PostUpdateInput, options?: SB.CallOptions): SB.Call<Post>
}

Emits Post.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Post.
formatstringThe venue’s format, such as shortVideo or thread.
publishAtdatetimeWhen it goes out.
claimsjsonThe facts it states, each resolving to a record.
reachintegerHow many people saw it, as the venue reports.

Returns

OutputTypeRequiredDescription
postPostrequiredThe Post.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const post = await $.Post.update({ id: 'post_HiXn57rBdP', publishAt: '2026-10-22T12:00:00Z' })