POST
/shorts.v1alpha1.ShortedStocksService/MintTokenMint API Token
Generate a bespoke API token for programmatic access to Shorted APIs. Requires valid session authentication.
Parameters
Request Body
application/json
object
Responses
200A new API token.
application/json
object
tokenstring
The generated JWT token.
401Unauthorized - User must be signed in.
application/json
object
codestring [CodeCanceled, CodeUnknown, CodeInvalidArgument, CodeDeadlineExceeded, CodeNotFound, CodeAlreadyExists, CodePermissionDenied, CodeResourceExhausted, CodeFailedPrecondition, CodeAborted, CodeOutOfRange, CodeInternal, CodeUnavailable, CodeDataLoss, CodeUnauthenticated]*
messagestring*
detailobject
curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.ShortedStocksService/MintToken" \
-H "Content-Type: application/json" \
-d '{}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.ShortedStocksService/MintToken" \
-H "Content-Type: application/json" \
-d '{}'