Webhook

Supametas.ai pushes data to the Webhook address set by the user, and the integrated application can automatically trigger responses based on the events.

A webhook is a mechanism through which the Supametas.ai data platform automatically sends an HTTP request (mainly POST) to a target system when specific events are triggered. When integrating with Supametas.ai, you may want your application to receive a notification whenever certain actions are taken on the platform. This allows your application to perform follow-up tasks automatically based on the data received from Supametas.ai.

The Supametas.ai platform requires the target webhook to meet the following requirements:

① The request method must be POST.

② The URL must use HTTPS.

③ Ensure the URL is accessible by the Supametas.ai server.

④ No suffix parameters should be attached to the URL.

Callback URL Example:https://www.yourdomain.com/api/put


Endpoint: POST: {{BaseUrl}/set-webhook

Request body:

{ 
  "url": "http://yourdomain.com/api/put"
}

Response:

{
  "optResult": "success"
}

Request:

Parameter
Type
Required
Description

url

STRING

YES

Webhook URL address

Response:

Parameter
Type
Description

optResult

STRING

Result

Last updated