Create webhook .

POST
Endpoint
/webhooks
Description

Create webhook allows you to add a webhook that will receive events to the platform.

There are four authentication options for webhooks; none, basic authentication (username and password), bearer token and API keys.

Request parameters
Attribute Description Data type Required
url Receiving URL address string Yes | Not set
authentication A valid authetication type. See Authentication types below. string Yes
username Your basic auth username. string If the basic_auth authentication type is requested.
password Your basic auth password. string If the basic_auth authentication type is requested.
token Your bearer token. string If the bearer_token authentication type is requested.
key Your api key. string If the api_key authentication type is requested.
value Your api value. string If the api_key authentication type is requested.
Authentication types
none

No authentication is required for the receiving URL. Simple pass none in the authentication parameter.

basic_auth

Username and password is required for the receiving URL. Simple pass basic_auth in the authentication parameter with the username and password parameters.

bearer_token

Bearer token is required for the receiving URL. Simple pass bearer_token in the authentication parameter with the token parameter.

api_key

API key value pairs are required for the receiving URL. Simple pass api_key in the authentication parameter with the key and value parameters.

Request example
{
    "url":"http://test.com",
    "authentication":"none"
}
Response example
{
    "result": "success",
    "status": 200,
    "data": {
        "id": 189,
        "created_at": "2025-04-29T08:48:04Z",
        "updated_at": "2025-04-29T08:48:04Z",
        "url": "http://test.com",
        "authentication": "none"
    }
}
Fail codes
Code Status Description
too_many_webhooks 422 Max webhooks created

Stay in the loop.

Sign up to our newsletter to keep up-to-date.