action journy_add_user_to_account { label: "Add users to an account" description: "You can add up to 100 users to an account." provider: journy method: POST path: "/accounts/users/add" encoding: json input: { type: "object" description: "The identification for user and account" required: ["account", "users"] properties: { account: { type: "object" description: "Account identification requires an accountId, domain or both" properties: { accountId: { type: "string" format: "account-id" description: "Unique identifier for the account in your database" } domain: { type: "string" format: "top-level-domain" description: "The domain associated with the account (e.g. acme-inc.com)" } } } users: { type: "array" items: { type: "object" 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" } } } } } } } } output: { type: "object" } }