Create journey
Changed onCreate a new journey. Journeys are always created in the draft state; sending a server-controlled field such as state or id returns a 400 validation error. Send an empty nodes array to create a journey with only its required defaults.
post/apps/{app_id}/journeys
Request
- Base URLhttps://api.onesignal.com
- URLhttps://api.onesignal.com/apps/{app_id}/journeys
- Authnone required
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
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