v1

latestOpenAPI 3.1.02026-07-22750642.5 KB
Initiatives

Set template

Link an approved WhatsApp template as a round's outreach message. Required before a WhatsApp initiative can launch.

post/api/v1/initiatives/{id}/templates

Path parameters

idstring required

The initiative id.

Request body

templateIdstring required

An APPROVED WhatsApp template id (from templates_list).

roundinteger

Which outreach message (1 = the first). Default 1.

Response

Success

roundinteger required

Which outreach message this is (1 = the first message).

templateIdstring nullable required

The linked WhatsApp template, or null if none is linked yet.

templateNamestring nullable required