Skip to main content

What is ctx.jelou?

ctx.jelou is the built-in messaging client. It lets you send WhatsApp messages directly from your function. Available automatically when the company has Jelou API credentials configured.

Check availability

Send messages

ctx.jelou.send(options)

Returns { messageId: string }.
Other supported types: video, audio, file, sticker, contacts, quick_reply, cta_url, flow.

Send HSM templates

ctx.jelou.sendTemplate(options)

Returns Array<{ id, destination }>.

Bot override

All messages default to ctx.bot.id. Override with botId:

Error handling

Testing