API keys
Create API key
Create a new scoped API key with the Java SDK.
POST
Create API key
Use
blnk.apiKeys().create for this operation.
1
Call the method
2
Store the plaintext key
Save
response.data().get("key").asText() immediately. It is only returned at creation and cannot be retrieved later.3
Response
201 Created
Related docs
How API keys work
Scopes, the master key, and the auth model.
Create API key
HTTP request and response schema.