API for create a session token with JWT (JSON Web Token). The generated token is require to consume any of the Kobra APIs.
(POST) /auth
Create session token
Creates a new session token using an user and password registered into Kobra platform. The user needs to be an lender administrator user. If you don’t have a lender administrator user you can request one via email to [email protected].
How to request a new Lender Administrator user?
Send an email to [email protected]. with the subject: New lender user for #lender_name#, in the body write the email to create the new user and wait for our response.
Request body
{
user: <string>,
password: <string>
}Response
{
"data": { "token":<jwt-token> },
"error": {
"type": <string>,
"message": <string>
}
}