POST
/webhookCreate WebHook
This API allows you to configure a webhook endpoint to receive data. The webhook supports different authentication types including basic and token-based.
POST
/webhookOptional Fields
- userName
- password
- token
Implementation Notes
This API allows you to configure a webhook endpoint to receive data. The webhook supports different authentication types including basic and token-based.
Parameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
body | body | object | Required | none |
» endpoint | body | string(uri) | Required | none |
» authType | body | string | Required | none |
» userName | body | string | Optional | none |
» password | body | string | Optional | none |
» token | body | string | Optional | none |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Webhook created successfully | Inline |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Authentication Failed or Account validity Expired | None |
| 429 | Too Many Requests | Too Many Requests | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X POST /webhook \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'Body parameter
{
"endpoint": "https://sampleendpoint.com/webhook",
"authType": "basic",
"userName": "sampleuser",
"password": "testpassword",
"token": ""
}Example responses
200 Response
{
"message": "Webhook Created Successfully"
}Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.