post https://stage.api.sauceclip.com/clips/rewards
When calling that API, it will act as a creation/modification.
- It acts as a reward create on the initial call to the clip.
- If a reward already exists in the same clip, it will act as modify.
The conditions for generating a reward are as follows.
- The status of the clip must be 'private'.
- The clip should have no history of going public after the reward is registered.
When registering postbackEndpointUrl, you will be asked as follows.
await axios.post(
postbackEndpointUrl, // Postback end point
{ // Body data
identifier: "User-specific identifier values",
type: "Reward type"
}
);
When registering clickValidationUrl, request it as follows.
await axios.post(
clickValidationUrl, // Click Validation Endpoint
{ // Body Data
identifier: "User-specific identifier values",
IDFA: "IDFA value",
ADID: "ADID value"
}
);
After the reward is generated, the API for registering or achieving the user for the reward is [Register and achieve the reward for the reward user]