Summary
Return the current TOTP code and expires_in seconds, or the secret value, or the password. Requires credentials:read. Sets last_retrieved_at and writes credential.retrieved with credential_id, inbox_id, type, and label. The event does not include the secret. Webhooks subscribed to credential.retrieved receive that same object and not the secret, password, seed, or code. Query totp=1 is HTTP 400 invalid_credential_type when the row is not totp. MCP: cooper_retrieve_credential and cooper_get_totp_code.
Request
This call has no JSON body.
Response
The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.Errors
- HTTP 400 invalid_credential_type
Idempotency
This route does not document Idempotency-Key or client_id.