Skip to main content

Generate the description of an RCS campaign

POST 

/api/partner-gateway/campaigns/:id/calculateGoal

Generates a description of the campaign with an AI model and saves it as the campaign description, replacing the current one.

  • Source: the RCS template of the campaign.
  • No content yet: nothing is generated and the stored description is left unchanged.
  • Not a pricing step: it computes neither recipients nor cost, and confirming a campaign does not require it. For the recipient count and the price, use GET /campaigns/{id}/price.

POST /campaigns/{id}/calculateGoal is one endpoint for SMS, RCS and WhatsApp: this page describes it for RCS. See it for SMS or WhatsApp.

Request​

Responses​

Description generated. The campaign is returned with it.