🎮Setting Up Webhooks for Real Game Data
Example
fetch('https://game-server-dev.fly.dev/api/v1/webhook', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer your_bearer_token_here'
},
body: JSON.stringify({
data: [
{
key1: 'value1',
key2: 'value2'
}
]
})
});
Endpoint Details
Authentication
Obtaining a Bearer Token
Using the Bearer Token

Data Submission
Sample JSON Request
Type of Data
Last updated