NotifyHub
Openapi

Create API key

POST
/v1/manage/workspaces/{workspaceId}/environments/{environmentId}/api-keys

Generates a new API key for the environment. The response includes the plaintextKey which is shown only once — store it securely. The key is hashed with SHA-256 before storage and cannot be retrieved later. Optionally set an expiresAt timestamp for automatic expiry.

Authorization

Authorization<token>

In: header

Response Body

curl -X POST "https://loading/v1/manage/workspaces/{workspaceId}/environments/{environmentId}/api-keys"
Empty