Create Workspace Signing Key
Create a signing key for this workspace.
The private_key_pem and private_key_base64 fields are returned only once at creation. Store them securely - they cannot be retrieved later.
Only one active signing key is allowed per workspace. To replace an existing active key, use the Roll Workspace Signing Key endpoint instead.
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Workspace slug (e.g. staging, production).
Response
Signing key created. Private key material is returned once in this response.
Signing key used to verify signed payloads.
Unique identifier of the signing key.
"ws_signk_exampleId01"
Signing key uid used in path parameters for roll/delete.
"signing_key_exampleUid01"
Status of the signing key.
active, rolled Domains allowed to use this signing key.
Timestamp when the signing key expires.
Timestamp when the signing key was created.
Identity that performed an action (created, updated, rolled, deleted, rotated).
Timestamp when the signing key was rolled.
Identity that performed an action (created, updated, rolled, deleted, rotated).
Timestamp when the signing key was deleted.
Identity that performed an action (created, updated, rolled, deleted, rotated).
PEM-encoded private key. Returned only at creation and on roll - store it securely and never commit to source control.
"-----BEGIN PRIVATE KEY-----\n...redacted...\n-----END PRIVATE KEY-----\n"
Base64-encoded private key. Returned only at creation and on roll.
"LS0tLS1CRUdJTi...redacted..."