Skip to main content
POST
Create User

Overview

Creates a new vendor portal user account and optionally sends an invitation email with login credentials.

Use Cases

  • Automate vendor onboarding — create vendor + user account in one flow
  • Provision portal access for new team members of an existing vendor
  • Bulk-invite vendors by scripting account creation with sendEmail: true

Request Body

string
required
The vendor ID this user will be associated with.
string
required
User’s email address. Will be converted to lowercase.
string
required
Password for the vendor portal account.
boolean
Set to true to send an invitation email with login credentials to the user.

Response

200
The password is stored as a bcrypt hash. It cannot be retrieved after creation. If sendEmail is true, the plaintext password is included in the invitation email.

Example