Create a new end user for the current organization. The external_id should be your application’s user identifier. End users are typically created automatically when widgets initialize, but you can pre-create them if needed.
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Input for creating a new end user. Requires external_id (your system's user identifier). Email and metadata are optional.
WorkOS organization ID that owns the end user.
External user identifier from the embedding site or IDP token.
Optional email address provided by the identity provider.
JSON string with additional end user metadata.
Timestamp of the user's last activity (message sent).
OK
End user resource representing a user who interacts with embedded AI widgets. Identified by external_id from the embedding site.
Internal end user ID (UUID).
WorkOS organization ID that owns the end user.
External user identifier from the embedding site or IDP token.
Optional email address provided by the identity provider.
JSON string with additional end user metadata.
Timestamp of the user's last activity (message sent).
Timestamp when the end user was created.
Timestamp when the end user was last updated.