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 Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1AdminNotificationsCampaignsResponses, PostApiV1AdminNotificationsCampaignsErrors, ThrowOnError>