Skip to main content

Get Config

Retrieve the current webhook configuration for your tenant.

Request

GET /garment-tagging/webhook/config

Headers

KeyValueDescription
API-KEYYOUR_API_KEYAuthentication key for the API
DOMAINYOUR_DOMAINDomain 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!"
}