Skip to main content
GET
List all API keys for a specific owner. Use this endpoint to audit and manage your API keys. Note that the actual API key value is not returned for security reasons.
Available on version 0.10.1 or later. Requires the master key or an API key with api-keys:read scope.
If you’re using the auto-provisioned Enterprise Core instance included with your Production License deployment, set the base URL to: https://ENTERPRISE_PUBLIC_URL/core.If you’re connecting to a different Core instance, use the publicly accessible base URL for that instance instead.

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>. Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code. See also: Scoped API keys and Secure your Blnk server.

Query Parameters

string
Unique identifier of the owner whose keys you want to list.

Response

Returns an array of API key objects. Note that the actual key value is not returned for security reasons.
string
Unique identifier for the API key.
string
The name of the API key.
string
The owner identifier associated with the API key.
array
List of permissions granted to the API key.
string
The expiration date and time for the API key in ISO 8601 format.
string
ISO 8601 formatted timestamp of when the API key was created.
string
ISO 8601 formatted timestamp of when the API key was last used for authentication.
The actual api_key value is not returned for security reasons. If you need to view or regenerate the key value, you’ll need to create a new API key.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.