Skip to main content

SdkOfferWall - GET Offer Link Redirect

Written by GoKart Support

Endpoint

api/v1/offer-wall/offer-link-redirect

This endpoint behaves the same as Get Offer Link, generating an offer URL based on the provided viewId. However, instead of returning the URL in the response, it automatically redirects the user to the generated offer link.

Use this endpoint when you want a direct click-through experience without handling the URL in your application logic. It’s ideal for redirecting users straight from your offerwall to the advertiser’s page.

This endpoint supports two request options.
Requests must conform to one of the options below.


Request Option 1: viewId

Required Parameters

Parameter

Type

Required

Description

viewId

UUID

Yes

Offerwall view identifier returned by the offerwall API

No additional identifier is required.

Example Request

GET https://api.[YOUR_TENANT].getgokart.ai/api/v1/offer-wall/offer-link-redirect
?offerId=6bd57ffe-3eda-404c-9c7c-1bd466a18886
&viewId=024bc172-f8ed-4ee4-868e-b40bff7f5fcd

Request Option 2: pub_member_id

Use this option when there is no viewId

Required Parameters

Parameter

Type

Required

Description

offerId

UUID

Yes

The offer being clicked

pub_member_id

String

Yes

Publisher’s internal user identifier

No additional identifier is required.

Example Request

GET https://api.[YOUR_TENANT].getgokart.ai/api/v1/offer-wall/offer-link-redirect 
?offerId=6bd57ffe-3eda-404c-9c7c-1bd466a18886
&pub_member_id=USER_12345
Did this answer your question?