POST v2/Auth

Generates a new Json Web Token.

Request Information

URI Parameters

None.

Body Parameters

request

AppNotchAPI
Name Type Description
Subject string

API Subject

Key string

API Key

Request Formats

{
  "subject": "sample string 1",
  "key": "sample string 2"
}
<AppNotchAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Controllers">
  <Key>sample string 2</Key>
  <Subject>sample string 1</Subject>
</AppNotchAPI>

Response Information

Resource Description

Token

IHttpActionResult

None.

Response Formats

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ