Body Required
POST /v1/publishers/callbacks/test
curl \
-X POST https://api.bitlabs.ai/v1/publishers/callbacks/test \
-H "X-S2S-Token: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"string","data":{"additionalProperty1":"string","additionalProperty2":"string"},"tags":{"additionalProperty1":"string","additionalProperty2":"string"},"custom_fields":{"additionalProperty1":"string","additionalProperty2":"string"}}'
Request examples
{
"url": "string",
"data": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"tags": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"custom_fields": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (200)
{
"data": {
"response": {
"status_code": 200,
"body": "OK - it works",
"content_type": "text/plain"
},
"url": "string",
"legacy_macros": [
"string"
],
"invalid_macros": [
"string"
]
}
}
Response examples (406)
{
"error": {
"details": {
"msg": "vpn detected",
"http": "406 Not Acceptable"
}
}
}