Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WorkOS user-management.users API

Manage users.

WorkOS user-management.users API is one of 41 APIs that WorkOS publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include user-management.users. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a GitHub repository, a changelog, and pricing.

This API exposes 16 operations across 13 paths, and defines 16 schemas. It is described by OpenAPI 3.1.1, at version 1.0.

Requests are made against 2 base URLs: https://api.workos.com, https://api.workos-test.com.

16 operations 13 paths 16 schemas 1 DELETE7 GET7 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.1
API Version
1.0
Base URL
https://api.workos.com
Authentication
HTTP Bearer, HTTP Bearer
Contact
License
Resource Areas
1

Authentication & Security 2

WorkOS user-management.users API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearer). It accepts HTTP bearer tokens (JWT) (access_token). By default, every request must be authenticated.

  • bearer — Your WorkOS API key prefixed with sk. Pass it as a Bearer token: Authorization: Bearer skexample123456789.
  • access_token — An SSO access token returned from the Get a Profile and Token endpoint.

Paths & Operations 16

Across 13 paths, the API surfaces 16 operations — 1 DELETE, 7 GET, 7 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

user-management.users 16

Manage users.

GET
/user_management/email_verification/{id}
Get an Email Verification Code
UserlandUsersController_getEmailVerification 1 param → 200404
POST
/user_management/password_reset
Create a Password Reset Token
UserlandUsersController_createPasswordResetToken body → 201403404422429
POST
/user_management/password_reset/confirm
Reset the Password
UserlandUsersController_resetPassword[0] body → 200400403404422
GET
/user_management/password_reset/{id}
Get a Password Reset Token
UserlandUsersController_getPasswordReset 1 param → 200404
GET
/user_management/users
List Users
UserlandUsersController_list[0] 7 params → 200422
POST
/user_management/users
Create a User
UserlandUsersController_create[0] body → 201400404422
GET
/user_management/users/external_id/{external_id}
Get a User by External ID
UserlandUsersController_getByExternalId 1 param → 200404
PUT
/user_management/users/{id}
Update a User
UserlandUsersController_update[0] 1 param body → 200400422
GET
/user_management/users/{id}
Get a User
UserlandUsersController_get[0] 1 param → 200404
DELETE
/user_management/users/{id}
Delete a User
UserlandUsersController_delete[0] 1 param → 200404
POST
/user_management/users/{id}/email_change/confirm
Confirm Email Change
UserlandUsersController_confirmEmailChange 1 param body → 200400404409422429
POST
/user_management/users/{id}/email_change/send
Send Email Change Code
UserlandUsersController_sendEmailChange 1 param body → 200404409422429
POST
/user_management/users/{id}/email_verification/confirm
Verify Email
UserlandUsersController_emailVerification[0] 1 param body → 200400404422
POST
/user_management/users/{id}/email_verification/send
Send Verification Email
UserlandUsersController_sendVerificationEmail[0] 1 param → 200400404429
GET
/user_management/users/{id}/identities
Get User Identities
UserlandUserIdentitiesController_get 1 param → 200404
GET
/user_management/users/{id}/sessions
List Sessions
UserlandUserSessionsController_list 5 params → 200404422

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are UserlandUser (13 properties), EmailVerification (8 properties), PasswordReset (8 properties), EmailChange (5 properties). Each schema is shown below with its type and property counts.

UserlandUser
object
The user object.
13 properties 11 required
SendVerificationEmailResponse
object
1 property 1 required
ConfirmEmailChangeDto
object
1 property 1 required
UpdateUserlandUserDto
EmailChange
object
5 properties 5 required
EmailVerification
object
8 properties 8 required
PaginationOrder
string
PasswordReset
object
8 properties 8 required
CreatePasswordResetDto
object
2 properties 2 required
UserlandUserList
object
3 properties 3 required
ResetPasswordResponse
object
1 property 1 required
VerifyEmailResponse
object
1 property 1 required
SendEmailChangeDto
object
1 property 1 required
CreatePasswordResetTokenDto
object
1 property 1 required
VerifyEmailAddressDto
object
1 property 1 required
CreateUserlandUserDto

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

workos-user-management-users-api-openapi.yml Raw ↑

Other APIs WorkOS publishes across the network.

WorkOS admin-portal API
WorkOS api_keys API
WorkOS application.client-secrets API
WorkOS applications API
WorkOS audit-logs API
WorkOS authorization API
WorkOS connections API
WorkOS directories API
WorkOS directory-groups API
WorkOS directory-users API
WorkOS events API
WorkOS feature-flags API