Skip to main content
POST
Create User

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload for creating an organization user.

email
string<email>
required

Unique email address within the organization.

user_name
string
required

Display name shown in dashboards and audit trails.

Required string length: 2 - 100
avatar_url
string | null

Profile picture URL (e.g., from PropelAuth picture_url property).

role
enum<string>
default:member

Default role within the organization if omitted.

Available options:
admin,
member,
viewer
status
enum<string>
default:active

Initial lifecycle status. Use 'pending' for invited users who haven't accepted yet.

Available options:
active,
suspended,
pending
metadata
Metadata · object | null

Custom key/value metadata stored with the user record.

Response

Successful Response

The response is of type Response Create User V1 Organizations Users Post · object.