Create a new, using api?

I know the data is in the variable user.
Only comes the user creation data, how to bring also the JWT?
Example:
return data:
{
id": 9,
“username”: “teste”,
“email”: “xx@testemail.com”,
“provider”: “local”,
"jwt": “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVC(…)”,
}