Generate loyalty URL
Generates a loyalty URL for the authenticated user. This URL provides access to the user's loyalty program and rewards.
Authorization<token>
Bearer token authentication for client-side SDK operations. Format: 'Authorization: Bearer '
In: header
Response Body
curl -X POST "https://test-api.stash.gg/sdk/client/generate_loyalty_url"{
"url": "string"
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}How is this guide?
Generate loyalty URL POST
Generates a loyalty URL for the authenticated user. This URL provides access to the user's loyalty program and rewards.
Save authentication tokens temporarily POST
Allows game backends to save access and refresh tokens temporarily, returning a short code challenge that can be passed via launcher deeplinks.