Get Workspace Key
Changed onRetrieve a single workspace key/secret pair by its id.
The response returns the full key and secret in plain text.
get/v1/{workspace}/ws_key/{workspace_key_id}/
Request
- Base URL: https://management-api.suprsend.com
- URL: https://management-api.suprsend.com/v1/{workspace}/ws_key/{workspace_key_id}/
- Auth: API key in header ServiceToken <token>
Path parameters
workspacestring required
Workspace slug (e.g. staging, production).
workspace_key_idstring required
Workspace key identifier (e.g. ws_key_...).
Response
Successfully retrieved the workspace key. Full key and secret are included.
Example response
{
"id": "ws_key_01ABCDEFGHJKMNPQRSTVWXYZ0",
"name": "ops-cli",
"key": "SS.WSK.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"secret": "SS.WSS.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"created_by": {
"name": "System User",
"email": "user@example.com"
},
"rotated_by": {
"name": "System User",
"email": "user@example.com"
},
"deleted_by": {
"name": "System User",
"email": "user@example.com"
}
}Changes
- ○
endpoint added
- ○