Body Required
-
The unique endpoint ID for example you can use your company name
-
password string
he password for basic auth
-
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.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 examples
{
"endpointId": "string",
"password": "string",
"url": "string",
"username": "string",
"withBasicAuth": true
}
Response examples (200)
{
"endpointId": "string",
"password": "string",
"url": "string",
"username": "string",
"withBasicAuth": true
}
Response examples (400)
{
"status": "400",
"timestamp": "2024-05-04T09:42:00+00:00",
"message": "string",
"apiSubExceptions": [
{
"field": "string",
"rejectedValue": "string",
"message": "string"
}
]
}
Response examples (403)
{
"status": "403",
"timestamp": "2024-05-04T09:42:00+00:00",
"message": "string",
"apiSubExceptions": [
{
"field": "string",
"rejectedValue": "string",
"message": "string"
}
]
}