Skip to content
On this page

Push Template Message

Functionality

API for pushing template messages, supports pushing text messages.

Interface Address

/template/{chatToken}

Parameter Description

ParameterTypeRequiredDescription
templateIdStringYesTemplate ID
titleStringYesTitle
textStringNoContent

Usage Example

bash
# using get
# Push message
curl -X GET https://pushbot.dev/template/{chatToken}?templateId=1&title=HelloWorld&text=HelloWorld

# using post
# Push message
curl -d '{"templateId":"1", "title":"Hi"}' -X POST https://pushbot.dev/template/{chatToken}