Set trigger
Configure how people enter the journey by updating its ENTRY node: manual, segment (needs segmentId), cdp_event (needs eventName), or inbound (needs inboundAction and inboundChannelIds, optionally narrowed to an inboundKeyword), with an optional frequency cap. Fields belonging to the other trigger types are cleared.
Authorizations
Organization API key, sent as Authorization: Bearer boom_org_....
Path Parameters
A draft journey id, or the initiative id (resolves to its current draft).
1Body
How people enter the journey.
manual, segment, cdp_event, inbound Required for segment triggers. The segment's id (from segments_list / segments_get) — NOT its slug.
Required for cdp_event triggers.
Required for inbound triggers.
WHATSAPP_MESSAGE, SMS_MESSAGE, INSTAGRAM_MESSAGE Required for inbound triggers: the channel ids to listen on. Must be NATIVE WhatsApp or SMS channels with an ONLINE sender; if you pass an ineligible one the error names the eligible ids. Several published journeys may share one channel as long as their keywords differ: publishing a rule whose keyword (or blank catch-all) is already taken on that channel is refused with INBOUND_CHANNEL_TAKEN. Each arriving message enrols exactly one of them, the most specific matching rule, ties going to the older initiative.
The word the inbound message must match for this journey to enrol — e.g. 'PRECIO'. Blank or absent means the trigger is the catch-all and fires on ANY message arriving on the channel, which is almost never what you want beside other journeys on the same number. Several journeys may share one channel as long as their keywords differ — two rules with the same keyword on one channel, or two blank ones, are refused at publish with INBOUND_CHANNEL_TAKEN. The keyword is matched accent-, case- and punctuation-insensitively, and stored normalized.
How inboundKeyword is matched: EXACT (the message is only-the-word), ALL_WORDS (the message contains all-the-words, in any order), or CONTAINS (the message contains-the-word, adjacent and in order). All three are word-based, so no mode ever matches inside a longer word ('precioso' does not match 'precio'). Defaults to EXACT. Ignored when inboundKeyword is blank.
EXACT, CONTAINS, ALL_WORDS Frequency cap; both-or-neither with enrollmentWindow.
1 <= x <= 9007199254740991Frequency-cap window, e.g. '7d'.
Response
Success
Journey (workflow version) id.
The initiative this journey belongs to.
DRAFT (editable), PUBLISHED (live, frozen), or STOPPED (retired).
DRAFT, PUBLISHED, STOPPED Version number within the initiative.
-9007199254740991 <= x <= 9007199254740991The full journey graph.