Back to Callbacks Endpoints
POST /v1/callbacks/:id/test
Full Scope Required
Generate a test payload for a callback without actually sending the request to your server. This endpoint is useful for testing and debugging callback configurations. It returns the exact payload that would be sent to your callback URL, allowing you to verify the payload format, test your server's handling logic, and ensure template variables are correctly populated before enabling the callback in production.
Request
http
POST https://api.votepipe.com/v1/callbacks/1/test
Authorization: Bearer mr_live_your_api_key_hereResponse (200 OK)
json
{
"data": {
"payload": {
"event": "vote",
"player": "TestPlayer",
"provider": "hytale-servers-pro",
"vote_id": "vt_550e8400-e29b-41d4-a716-446655440000"
},
"url": "https://my-server.com/api/vote",
"timeout_ms": 5000,
"has_auth": true
}
}