AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Php script send viber message11/11/2022 ![]() ![]()
This action defines the account’s webhook and the type of events the account wants to be notified about.įor security reasons only URLs with valid and official SSL certificate from a trusted CA will be allowed. Setting the webhook will be done by calling the set_webhook API with a valid & certified URL. This webhook will be used for receiving callbacks and user messages from Viber. Once you have your token you will be able to set your account’s webhook. Note: Failing to send the authentication token in the header will result in an error with the missing_auth_token message. The authentication token is generated upon bot creation and can be viewed by the account’s admins in the “edit info” screen of their bot or on the Viber Admin Panel. Each API request must include an HTTP Header called X-Viber-Auth-Token containing the account’s authentication token. It is used to authenticate request in the Viber API and to prevent unauthorized persons from sending requests on behalf of a bot. The authentication token (also known as application key) is a unique and secret account identifier. All API requests and callbacks mentioned in the diagram will be explained later in this document. The following diagram describes the flow of sending and receiving messages by the account. Our partners will be able to provide you with further details about the service, such as pricing. You can see which partners cover your geographical area in their description in the link above.
0 Comments
Read More
Leave a Reply. |