Body Required
-
endpointId string Required
The unique endpoint ID for example you can use your company name
-
password string
he password for basic auth
-
url string Required
The endpoint URL
-
username string
The username for basic auth
-
withBasicAuth boolean
If basic auth should be used, defaults to false
POST /r/wh/1/webhook
curl \
-X POST https://api.trial.lsk.lightspeed.app/r/wh/1/webhook \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"endpointId":"string","password":"string","url":"string","username":"string","withBasicAuth":true}'
Request example
{
"endpointId": "string",
"password": "string",
"url": "string",
"username": "string",
"withBasicAuth": true
}
Response examples (200)
{
"endpointId": "string",
"password": "string",
"url": "string",
"username": "string",
"withBasicAuth": true
}