---
updatedAt: 2026-07-02T15:40:38.000Z
agentTools:
  projectIndex: https://developers.youtrust.com/llms.txt
---

# Create a new User

Creates a new application User and sends them an invitation email.

You can create a new User only if you meet the following conditions:

* You have at least one available license in the Organization. Learn more about licenses.
* There is no existing Youtrust User with the same email address.
* There is no User Invitation with the same email address in the Organization.

Related guide: [User](https://developers.youtrust.com/docs/user-1#create-a-new-user)

***

**🔓 Endpoint access**

* Environments: `production`
* API key scopes: `organization`
* Plans: `plus`, `pro`, `scale`
* Add-ons (for production access): *none*

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "contact@youtrust.com",
      "name": "Support",
      "url": "https://youtrust.com/contact"
    },
    "description": "Build the best experience of digital signature through your own platform. Increase your conversion rates, leverage your data and reduce your costs with Youtrust API.",
    "license": {
      "name": "proprietary",
      "url": "https://youtrust.com/terms"
    },
    "title": "Public Api v3",
    "version": "3.0"
  },
  "servers": [
    {
      "description": "Sandbox URL",
      "url": "https://api-sandbox.yousign.app/v3"
    },
    {
      "description": "Production URL",
      "url": "https://api.yousign.app/v3"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "description": "A person who can access the Youtrust web app of your organization.",
      "name": "User"
    }
  ],
  "paths": {
    "/users": {
      "post": {
        "description": "Creates a new application User and sends them an invitation email.",
        "operationId": "post-users",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUser"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            },
            "description": "Created",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestResponse"
                }
              }
            },
            "description": "Bad request",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnauthorizedResponse"
                }
              }
            },
            "description": "Access unauthorized",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForbiddenResponse"
                }
              }
            },
            "description": "Access forbidden",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          },
          "405": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MethodNotAllowed"
                }
              }
            },
            "description": "This method is not allowed",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              },
              "Retry-After": {
                "$ref": "#/components/headers/retry-after"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TooManyRequestsResponse"
                }
              }
            },
            "description": "Too Many Requests, please try again later.",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              },
              "Retry-After": {
                "$ref": "#/components/headers/retry-after"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerError"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/rateLimit-limit"
              },
              "X-RateLimit-Limit-Hour": {
                "$ref": "#/components/headers/rateLimit-limit-hour"
              },
              "X-RateLimit-Limit-Minute": {
                "$ref": "#/components/headers/rateLimit-limit-minute"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/rateLimit-remaining"
              },
              "X-RateLimit-Remaining-Hour": {
                "$ref": "#/components/headers/rateLimit-remaining-hour"
              },
              "X-RateLimit-Remaining-Minute": {
                "$ref": "#/components/headers/rateLimit-remaining-minute"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/rateLimit-reset"
              }
            }
          }
        },
        "summary": "Create a new User",
        "tags": [
          "User"
        ]
      }
    }
  },
  "components": {
    "headers": {
      "rateLimit-limit": {
        "description": "The maximum number of requests that the consumer is permitted to make in a given period",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-limit-hour": {
        "description": "The maximum number of requests that the consumer is permitted to make in an hour window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-limit-minute": {
        "description": "The maximum number of requests that the consumer is permitted to make in an minute window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining": {
        "description": "The number of requests remaining in the current rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining-hour": {
        "description": "The number of requests remaining in the current hour rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-remaining-minute": {
        "description": "The number of requests remaining in the current minute rate limit window",
        "schema": {
          "type": "integer"
        }
      },
      "rateLimit-reset": {
        "description": "The remaining time until the rate limit resets in seconds",
        "schema": {
          "type": "integer"
        }
      },
      "retry-after": {
        "description": "Retry the request after X seconds",
        "schema": {
          "type": "integer"
        }
      }
    },
    "schemas": {
      "UUID": {
        "description": "The unique identifier for a resource.",
        "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
        "format": "uuid",
        "type": "string"
      },
      "User": {
        "properties": {
          "id": {
            "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
            "format": "uuid",
            "type": "string"
          },
          "first_name": {
            "example": "John",
            "nullable": true,
            "type": "string"
          },
          "last_name": {
            "example": "Doe",
            "nullable": true,
            "type": "string"
          },
          "email": {
            "example": "email@example.com",
            "format": "email",
            "type": "string"
          },
          "phone_number": {
            "description": "E.164 format",
            "example": "+447123456789",
            "nullable": true,
            "type": "string"
          },
          "locale": {
            "example": "en",
            "type": "string"
          },
          "avatar": {
            "example": "https://example.com/users/123456/avatar",
            "nullable": true,
            "type": "string"
          },
          "job_title": {
            "example": "Worker",
            "nullable": true,
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "created_at": {
            "example": "2024-01-18T22:59:00Z",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/UserRole"
          },
          "workspaces": {
            "items": {
              "$ref": "#/components/schemas/User_workspaces_inner"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/UserStatus"
          },
          "source": {
            "description": "The application used to create the `User`",
            "enum": [
              "app",
              "public_api"
            ],
            "example": "public_api",
            "nullable": false,
            "type": "string"
          }
        },
        "required": [
          "avatar",
          "created_at",
          "email",
          "first_name",
          "id",
          "is_active",
          "job_title",
          "last_name",
          "locale",
          "phone_number",
          "role",
          "source",
          "status",
          "workspaces"
        ],
        "title": "User",
        "type": "object"
      },
      "CreateUser": {
        "properties": {
          "email": {
            "description": "The email address must not match any existing User's email.\n",
            "example": "john.doe@example.com",
            "format": "email",
            "title": "User's email address",
            "type": "string"
          },
          "role": {
            "description": "Role assigned to the User in the Organization.\n",
            "enum": [
              "admin",
              "member"
            ],
            "title": "User's role",
            "type": "string"
          },
          "locale": {
            "$ref": "#/components/schemas/Locale"
          },
          "workspaces": {
            "description": "The new User must be associated with at least one Workspace in the Organization.\n",
            "items": {
              "$ref": "#/components/schemas/UUID"
            },
            "minItems": 1,
            "title": "User's Workspace",
            "type": "array",
            "uniqueItems": true
          },
          "first_name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HumanName"
              }
            ],
            "description": "User's first name",
            "example": "John",
            "maxLength": 255,
            "minLength": 1,
            "nullable": true,
            "title": "First name",
            "type": "string"
          },
          "last_name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HumanName"
              }
            ],
            "description": "User's last name",
            "example": "Doe",
            "maxLength": 255,
            "minLength": 1,
            "nullable": true,
            "title": "Last name",
            "type": "string"
          },
          "phone_number": {
            "description": "E.164 format",
            "example": "+41446667700",
            "minLength": 1,
            "nullable": true,
            "title": "User's phone number",
            "type": "string"
          },
          "job_title": {
            "description": "This property is a [Safe String](https://developers.youtrust.com/reference/oas-specification#safe-string).",
            "example": "Employee",
            "format": "safe-string",
            "maxLength": 255,
            "minLength": 1,
            "nullable": true,
            "title": "User's job title",
            "type": "string"
          }
        },
        "required": [
          "email",
          "locale",
          "role",
          "workspaces"
        ],
        "title": "A User object",
        "type": "object"
      },
      "HumanName": {
        "pattern": "^(?!\\s)[0-9A-Za-zĄÀÁÂÃÄÅÇĆÈÉÊËĘÌÍÎÏŁÑŃÒÓÔÕÖŚÙÚÛÜÝŹŻąàáâãäåæçćèéêëęìíîïłñńòóôõöśùúûüýÿźżßĀāĂăĈĉĊċČčĎďĐđĒēĔĕĖėĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıĲĳĴĵĶķĸĹĺĻļĽľĿŀŅņŇňŉŊŋŌōŎŏŐőŒœŔŕŖŗŘřŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŽžſøØÆȘșȚț`'() -]+(?<!\\s)$",
        "type": "string"
      },
      "Locale": {
        "description": "Locale settings used for communication.",
        "enum": [
          "en",
          "fr",
          "de",
          "it",
          "nl",
          "es",
          "pl",
          "pt",
          "ro"
        ],
        "minLength": 1,
        "title": "Locale",
        "type": "string"
      },
      "UserRole": {
        "description": "The role the User holds in the Organization.\n\n`workspace_admin` is part of an unreleased feature. It cannot be assigned through the API, and its name, type and behavior may change before release. Do not use it.",
        "enum": [
          "owner",
          "admin",
          "workspace_admin",
          "member"
        ],
        "title": "User Role",
        "type": "string"
      },
      "UserStatus": {
        "enum": [
          "invited",
          "signed_up",
          "verified",
          "completed"
        ],
        "minLength": 1,
        "title": "User Status",
        "type": "string"
      },
      "BadRequestResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "BadRequestResponse",
        "type": "object"
      },
      "UnauthorizedResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "UnauthorizedResponse",
        "type": "object"
      },
      "ForbiddenResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "ForbiddenResponse",
        "type": "object"
      },
      "MethodNotAllowed": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "MethodNotAllowed",
        "type": "object"
      },
      "TooManyRequestsResponse": {
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "TooManyRequestsResponse",
        "type": "object"
      },
      "InternalServerError": {
        "properties": {
          "type": {
            "example": "about:blank",
            "type": "string"
          },
          "detail": {
            "example": "Something wrong occurred.",
            "type": "string"
          }
        },
        "required": [
          "detail",
          "type"
        ],
        "title": "InternalServerError",
        "type": "object"
      },
      "User_workspaces_inner": {
        "properties": {
          "id": {
            "example": "9a93d3b5-fb3b-4abf-9e70-26315b33506c",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```