Skip to main content
PUT
Replace Study targeting

Authorizations

Authorization
string
header
required

Use API-Key YOUR_API_KEY. The key selects the Production or Development environment.

Headers

If-Match
string
required

Quoted Study version last read from ETag or Study.version. Required on mutating Study writes.

Example:

"\"126300\""

Path Parameters

studyId
string<uuid>
required

Body

application/json

The complete targeting sub-resource for an IN_PRODUCT_SURVEY Study.

triggers
object[]
required

One to 10 existing Events. A matching Event triggers the Study, so multiple entries use OR semantics.

Required array length: 1 - 10 elements
audience
Attribute comparison · object
required

Audience rules, or null to target every visitor.

delaySeconds
integer
required

Seconds to wait after the trigger before showing the Study. Use 0 for no delay.

Required range: 0 <= x <= 999

Response

No Content