Should the password be plain text when creating a user through the API?

Can we send encrypted password instead of plain text password ?