Skip to navigation

List API keys

Returns the authenticated user’s current API key metadata along with any rolled-away previous keys still inside their individual grace windows.

Plaintext keys are never returned — use this endpoint to track which keys you have minted and when each one expires.

Headers

X-Api-KeystringOptional

Your Dealsignal API key, as an alternative to the api_key parameter — send the key in one place. Preferred: it keeps the key out of the URL.

Query parameters

api_keystringOptional

Your Dealsignal API key. Obtain it from the Dealsignal dashboard. Send it here or in the X-Api-Key header — one of the two is required. If a request carries both, this parameter is used, even an empty api_key=: remove api_key from the URL when you switch to the header.

Response

Current and previous API keys.
currentobjectOptional
previouslist of objectsOptional

Rolled-away keys still inside their grace windows, ordered by expires_at ascending.

Errors

401
Unauthorized Error