Login
Endpoint:
https://api.visidea.ai/accounts/authenticate
Method: POST
Request:
{
"username":"[email protected]",
"password":"..."
}
caution
The password MUST be SHA-512 encoded.
Response:
{
"id":"5f462406d6137d0016a503d9",
"username":"[email protected]",
"plan":"pro",
"trialEnds":"2030-09-26T10:09:20.321Z",
"planEnds":"2030-09-26T10:09:20.321Z",
"createdDate":"2020-08-26T08:57:42.025Z",
"firstname":"Test",
"lastname":"Test",
"companyname":"Inferendo",
"address1":"Via Firenze 37",
"city":"Alessandria",
"state":"AL",
"zip":"15121",
"country":"IT",
"phone":"+101234567890",
"vatid":"01312312",
"sdi":"123123",
"stripeCustomer":"cus_XXXXXXXX",
"currentWebsite":"www.test.com"
}
info
The field token contains the JWT token that must be set in the Authentication header in all the authenticated routes.
authorization: Bearer token