Create a user

View as Markdown
Creates a new user account in Postman and adds the user to your organization's Postman team. - If the account does not exist, this also activates the user so they can authenticate in to your Postman team. - If an account matching the email ID exists, the user receives [email invite](https://learning.postman.com/docs/administration/managing-your-team/manage-team-members/#manage-invites) to join the Postman team. The user joins the team when they accept the invite. - If the user's email domain matches your team's verified domains, the user is immediately added to the team. By default, the system assigns new users the developer role. You can [update user roles in Postman](https://learning.postman.com/docs/administration/managing-your-team/manage-team-members/#manage-team-roles). **Note:** - Users must join the team before you can assign them to any groups. - If the user is a member of a different team during SCIM provisioning and their email domain is **not** verified with your Postman team, then the user is **not** provisioned. The endpoint returns an HTTP `409 Conflict` response.

Authentication

x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

This endpoint expects an object.
schemaslist of stringsOptional
userNamestringOptional
The user's username.
activebooleanOptional
If true, activates the user. This lets them authenticate in to your Postman team.
externalIdstringOptional
The user's external ID.
groupslist of stringsOptional
A list of groups to assign the user to.
localestringOptional

The user’s IETF language tag.

nameobjectOptional
Information about the user's name.

Response

Created
schemaslist of strings
idstring
The user's SCIM ID.
userNamestringformat: "email"
The user's username.
nameobject
externalIdstring
The user's external ID.
activeboolean
If true, the user is active.
metaobject

The response’s non-standard meta information.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error