Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

muhammadzahidlatif123's avatar

Postback Url

I want to add AdGem offerwalls to my website, but it don't know how to set up Postback Url. They have documentation at https://docs.adgem.com/publisher-support/web-offer-wall-integration-guide/ https://docs.adgem.com/publisher-support/web-postback-setup/

Please can someone help me setup postback url.

0 likes
3 replies
Sinnbeck's avatar

That sounds like a webhook. So set up a route with a controller like you normally do and give the url to them as explained on their page

1 like
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@muhammadzahidlatif123 I think you might be over thinking it :)

Route::get('/adgem', AddGemController::class);

And then make the controller

php artisan make:controller AddGemController --invokable

And in the controller you get the data like usually

$appId = $request->input('appid');

And you give them the url on their page with the parameters you need

1 like

Please or to participate in this conversation.