Skip to main content
MUTATION
whatsappSendTemplateMessage(integrationId: String!, conversationId: String, customerId: String, recipient: String, recipientName: String, templateId: String, templateName: String, language: String, params: JSON, statusOnCreate: String): [WhatsappMessageTemplateResponse]

Arguments

integrationId
String!
required

Sending WhatsApp integration id. Required.

conversationId
String

Existing inbox conversation to attach the message to. Alternative to customerId / recipient.

customerId
String

Core customer id to resolve the recipient phone from. Alternative to conversationId / recipient.

recipient
String

Raw destination phone number (E.164). Alternative to conversationId / customerId.

recipientName
String

Display name to store for a newly created contact, when sending to a raw recipient.

templateId
String

Meta template id. Alternative to templateName + language.

templateName
String

Template name. Use together with language when templateId is not known.

language
String

Template locale code (e.g. en_US). Required when identifying by templateName.

params
JSON

Values for the template's variable placeholders (header/body/button), shaped to match the template's components from whatsappGetMessageTemplateDetail.

statusOnCreate
String

Optional initial conversation status to set if a new conversation is created.

_id
String
conversationId
String
createdAt
Date
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦