Get Config
Retrieve the current webhook configuration for your tenant.
Request
GET /garment-tagging/webhook/config
Headers
| Key | Value | Description |
|---|---|---|
| API-KEY | YOUR_API_KEY | Authentication key for the API |
| DOMAIN | YOUR_DOMAIN | Domain identifier for tenant isolation |
Responses
200 OK
{
"status": true,
"data": {
"enabled": true,
"url": "https://example.com/webhook",
"secret": "your_webhook_secret",
"headers": {
"X-Custom-Header": "custom-value"
}
},
"error": [],
"message": "success!"
}
200 OK (No configuration set)
{
"status": true,
"data": {
"enabled": false,
"url": "",
"secret": "",
"headers": {}
},
"error": [],
"message": "success!"
}