Skip to main content
PUT
Create or update the journey conversion goal

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Body

application/json
goal_event_type
string
required

Event that counts as a conversion (dotted namespaces allowed).

Required string length: 1 - 160
goal_event_filter
object

Optional attribute filter the conversion event must match.

conversion_window_hours
integer
default:168

Attribution window in hours after enrollment; 0 disables the window (unbounded).

Required range: 0 <= x <= 8760
description
string
Maximum string length: 500

Response

The upserted conversion-goal definition.

data
object
meta
object