cURL
curl --request POST \ --url https://pinapi.jackalprotocol.com/api/keys/{keyName} \ --header 'Authorization: Bearer <token>'
{ "name": "my-favourite-key", "key": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" }
Generate a new API key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
name of key to create
Successful operation
The response is of type object.
object