Skip to Content
Anuma SDKClientInternalFunctionspostApiV1AdminNotificationsCampaigns

postApiV1AdminNotificationsCampaigns

postApiV1AdminNotificationsCampaigns<ThrowOnError>(options: Options<PostApiV1AdminNotificationsCampaignsData, ThrowOnError>): RequestResult<PostApiV1AdminNotificationsCampaignsResponses, PostApiV1AdminNotificationsCampaignsErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:347 

Create an announcement campaign (admin)

Creates a push announcement campaign. Status “draft” (default) is inert; “scheduled” requires scheduled_at and is drained by the campaign worker once due. Delivery enforces the per-recipient announcements opt-in regardless of segment.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1AdminNotificationsCampaignsData, ThrowOnError>

Returns

RequestResult<PostApiV1AdminNotificationsCampaignsResponses, PostApiV1AdminNotificationsCampaignsErrors, ThrowOnError>

Last updated on