action journy_upsert_user { label: "Create or update user" description: "Endpoint to create or update a user." provider: journy method: POST path: "/users/upsert" encoding: json input: { type: "object" description: "Update properties of a user" required: ["identification"] properties: { identification: { type: "object" description: "User identification requires a userId, email or both" properties: { email: { type: "string" format: "email" description: "Email address of the user" } userId: { type: "string" format: "user-id" description: "Unique identifier for the user in your database" } } } properties: { type: "object" description: "The properties being set, possible values are strings, booleans, numbers and datetimes (ISO 8601)" } } } output: { type: "object" } }