journey

Upload a journey content file (image/pdf)

Upload an image or pdf for a step content; the storage folder is derived from the file type. Returns the file_path to set in the content payload.

post/api/journey/template/contents/upload

Response

Successful Response

file_pathstring required

Path to uploaded file in storage

titlestring nullable

Success title

messagestring

Success message

Example response

{
  "file_path": "users/123e4567-e89b-12d3-a456-426614174000/avatar/profile_photo.jpg",
  "message": "File caricato con successo"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.