Hook Apps facilitate real-time communication between web applications and OneTab. When a specific event occurs in web application, it sends an HTTP POST request with relevant data to Onetab in the form of a message. Hook app functionality automates workflows and enables seamless communication without constant polling. They're pivotal for building interconnected systems and enhancing efficiency in web-based operations.
Endpoint URL: https://services.onetab.ai/post/message
This endpoint enables your application to deliver a message to the Demo 1 channel.
Authorization
: your_actual_client_secret_valuejsonCopy code
{
"channelId": "666fd2f582c821a22253fa11",
"message": "your_message"
}
secretKey: The application's client secret key.
channelId: The unique identifier of the channel to which the message will be sent.
message: The message to be delivered, in string format.
{
"status": "success",
"code": 200,
"message": "Message delivered successfully"
}