Skip to main content
POST
Grant a Reward

Headers

x-api-key
string
required

The secret API key.

Path Parameters

app_user_id
string
required

The app user id of the user to grant a reward to.

Body

application/json
key
string
required

The key of the reward to grant

Example:

"discounted-offering"

operation_id
string | null

An optional operation id that ensures the same operation won't be performed again

Example:

"821fae4b5-0123-4567-9152-5297086a161c"

Response

The reward has been already available for the user and cannot be granted again.

data
object
required