Create a new user or return existing user
Create a new user in the UPL system or return existing user.
This endpoint:
- Validates authentication tokens
- Creates a new user with unique email OR returns existing user if email already exists
- Returns user details upon successful creation or retrieval
- Uses "create or get" pattern for idempotent behavior
**Authentication**: Requires valid API key or JWT token in Authorization header
Request body
Example request
{
"email": "user@example.com",
"name": "John Doe",
"org_user_id": "org_123456"
}Response
Successful Response
Example response
{
"created_at": "2024-01-01T00:00:00Z",
"email": "user@example.com",
"name": "John Doe",
"org_user_id": "org_123456",
"success": true,
"user_id": "123e4567-e89b-12d3-a456-426614174000"
}Changes
Changed in 3 of the 29 revisions of this API.12
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
v1 usersaddedapi-tag-added
- ○
api tag
v1 mainremovedapi-tag-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○