Skip to main content
POST
Create a redeem-reward action
EXPERT. This operation is in the Feature Building Blocks APIs. Read that page before you use it.

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
string
required
controllerId
string
required

Body

application/json

Body of a POST /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/actions/redeem-rewards request.

component_ids
string[]
component_references
object[]
data
object
enabled

Choose between static or dynamic enabled. Buildtime expressions use ControllerBuildtimeContext.

event_time

Choose between static or dynamic event time. Runtime expressions use RewardActionContext.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?Z$
Example:

"2025-10-24T09:00:00.000Z"

partner_event_id
string | null
quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
reward_id
string

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
REDEEM_REWARD
component_ids
string[]
component_references
object[]
enabled

The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
data
object
event_time

The event time as configured: a literal value, or an expression (type:string) when defined dynamically. Runtime expressions use RewardActionContext.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?Z$
Example:

"2025-10-24T09:00:00.000Z"

partner_event_id
string
reward_id
string