Read API key metadata
Query parameters are rejected. Does not return the complete credential.
Query parameters are rejected. Does not return the complete credential.
projectAPIKeyAuthorizationBearer <ch_dev_ or ch_live_ project API key>Read CASCADEHOOK_API_KEY from the local environment. Never print keys or headers. Scope is the project selected when the key was created.
api_key_id*stringuuidRead API key metadata
application/json- response
id*stringuuidproject_id*stringuuidname*stringprefix*stringenvironment*string"dev""live"status*string"active""expired""revoked"created_at*stringdate-timeexpires_at*|date-timerevoked_at*|date-timerevokes_at*|date-timerotated_to_id*|uuidcreated_by_api_key_id*|uuidrevoked_by_api_key_id*|uuidcreated_by_user_id*|uuidrevoked_by_user_id*|uuidcurl -X GET 'https://api.cascadehook.com/v1/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "name": "string", "prefix": "string", "environment": "dev", "status": "active", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "revokes_at": "2019-08-24T14:15:22Z", "rotated_to_id": "d8c8cef8-46b3-4daa-a787-79dc60305000", "created_by_api_key_id": "16a8c1ea-aaaf-49f0-9266-c657c48ceff3", "revoked_by_api_key_id": "3555c307-5cc9-4766-a644-97d41de57b76", "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473", "revoked_by_user_id": "476f4cfa-afa8-454d-aad0-b6469f18e9fa"}Create a project API key POST
Requires explicit human approval. Query parameters are rejected. dev/live labels grant the same project scope; neither is a sandbox or a restricted agent credential. Human setup should use the dashboard to obtain the initial key.
List API key metadata GET
Returns newest-first retained data. Unknown or repeated query parameters are rejected. Follow next_cursor until null; preserve filters. Omit cursor on the first page. Metadata excludes complete credentials.