Skip to main content
POST
Create campaign model

Authorizations

Authorization
string
header
required

Behalf of an Operator (default). A JWT issued by Talqui Core when an operator signs in, scoped to every tenant that operator belongs to. Send as Authorization: Bearer <jwt-token>.

Path Parameters

tenantID
string
required

Body

application/json
campaignModelChannel
string
required

The channel this campaign model targets (e.g. whatsapp).

campaignModelChannelID
string
required

Identifier of the specific channel connection this campaign model belongs to.

campaignModelName
string
required

The name of the campaign model.

campaignModelType
string
required

The template type/category as defined by the provider.

campaignModelDescription
string

Free-text description of the campaign model, for internal reference only.

campaignModelGatewayMeta
object

Provider-specific display/gateway configuration for this template.

campaignModelMeta
object

Arbitrary metadata attached to the campaign model.

campaignModelSlots
object

The template content, broken down by provider slot (header/body/buttons/footer).

campaignModelTags
string[]

Arbitrary tags for organizing/filtering campaign models.

Response

Response for status 200.

campaignModel
object
required

The newly created campaign model.