Menu

Expand
Rate this page:

twilio/quick-reply

Twilio/quick-reply templates let recipients tap, rather than type, to respond to the message.

Twilio/quick-reply templates can be sent via WhatsApp for out of session messages with variables. If the template's body starts or ends with a variable or has two variables next to each other, the template will not be approved by Whatsapp without a sample variable. For additional information about variables see Using Variables with Content Templates.

Supported Channels

WhatsApp, Facebook Messenger

Message Preview

Content API - quick reply preview

Data Parameters

body:

Type - string

Required - yes

Variable Support - yes

Description - The text of the message you want to send. This is included as a regular text message.

  • Maximum 1,024 characters

actions:

Type - array[actions]

Required - yes

Variable Support - See Common Components: Actions definition

Description - See Replies definition.

  • Up to 3 buttons can be created for Quick Reply buttons. Please use “type,” “title”, and “id” actions to create quick reply buttons within the actions array.
Loading Code Sample...
        
        
        Code sample for creating a template using content API

        Create a Quick Reply Template

        Code sample for creating a template using content API
        Rate this page:

        Need some help?

        We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

        Loading Code Sample...
              
              
              

              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              thanks-feedback-gif