Duplicate journey
Changed onCopy an existing journey. The copy is always in the draft state, whatever state the source is in, and the source does not change. To shape the copy in the same request, send overrides. It is a journey document that is applied over the copy as a JSON Merge Patch (RFC 7396). Use it to create the copy in its final state, instead of creating the copy and then patching it.
post/apps/{app_id}/journeys/{id}/duplicate
Request
- Base URLhttps://api.onesignal.com
- URLhttps://api.onesignal.com/apps/{app_id}/journeys/{id}/duplicate
- Authnone required
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
idstring required
UUID of the journey to copy.
Headers
Authorizationstring required
Your App API key with prefix Key . See Keys & IDs.
Content-Typestring required
Request body
Response
201
Changes
- info
endpoint added
- info