API Keys
Create API Key
API Keys
Create API Key
POST
/
pinata
/
keys
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
object
object
Add Example Value
keyName
string
*
keyName
Required
string
Name of the API key
permissions
object
*
permissions
Required
object
admin
boolean
admin
boolean
Provides full access to permissions
endpoints
object
endpoints
object
data
object
data
object
pinList
boolean
pinList
boolean
userPinnedDataTotal
boolean
userPinnedDataTotal
boolean
pinning
object
pinning
object
hashMetadata
boolean
hashMetadata
boolean
hashPinPolicy
boolean
hashPinPolicy
boolean
pinByHash
boolean
pinByHash
boolean
pinFileToIPFS
boolean
pinFileToIPFS
boolean
pinJSONToIPFS
boolean
pinJSONToIPFS
boolean
pinJobs
boolean
pinJobs
boolean
unpin
boolean
unpin
boolean
userPinPolicy
boolean
userPinPolicy
boolean
maxUses
integer
maxUses
integer
Maximum number of uses for the API key
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Name of the API key
Provides full access to permissions
Maximum number of uses for the API key
Response
200 - application/json
The response is of type object
.