Create a user
POST/panel/users
Creates a user. The email address is marked as verified immediately, so no verification email is sent.
When is_admin is true, the user is granted platform administrator access.
Request
Responses
- 201
- 401
- 403
- 422
User created. Returns the user object unwrapped (no data envelope).
Caveat: is_admin in this response is always false, even when the request set is_admin: true. The admin flag is applied correctly — it is only misreported here. Re-fetch the user with GET /panel/users/{user} to read its true value.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
The request body failed validation.