Authentication
Obtain JWT Authentication token for user.
Obtain a JWT Authentication for a user.
After obtaining the token, REST API calls may be invoked by passing the obtained token in the REST header. Either email or both tenant and username are required. Add the following to your header when you make REST calls: "Authorization: bearer TOKEN"
post/_open/auth
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "joe@foo.com",
"password": "xxxxx",
"tenant": "foo",
"username": "joe"
}Response
Successfully created token.
Example response
{
"jwt": "IsInR5cCI6IkpXVCJ9.pvaG4gRG9lIiwiaWF0IjoyfQ.SflKxwRJSMeV_adQssw5c",
"tenant": "foo",
"username": "joe"
}Changes
No recorded changes to this operation across all 1 revision of this API.