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.

How to Use the API and How It Works

  1. Choose an API Select the API that meets your application's requirements.
  2. Obtain an API Key or Authentication Token Secure the necessary authentication credentials, typically provided upon registration for API access.

API Endpoint

Endpoint URL: https://services.onetab.ai/post/message

This endpoint enables your application to deliver a message to the Demo 1 channel.

Request

Request Body

jsonCopy code
{
  "channelId": "666fd2f582c821a22253fa11",
  "message": "your_message"
}

Response

Successful Response (HTTP 200 OK)

{
  "status": "success",
  "code": 200,
  "message": "Message delivered successfully"
}