Skip to content
English
  • There are no suggestions because the search field is empty.

I lost or forgot my API key's client secret. What can I do now?

Create a new API credential first, then revoke or purge the old one

You only need the client secret if you request OAuth tokens (POST /v1/auth/token). If you send your API key in the X-Api-Key header, a lost client secret does not affect you and there is nothing to do.

The API key and the client secret are shown only once, when you create the credential. They can't be displayed again. If you need the secret, or if you lost the API key itself, replace the credential. Create the new credential first and delete the old one only when your integration works with the new values. That way there is no interruption.

 

1. Create a new credential

  1. Go to Developer > API Credentials and click New API Credential.
  2. In the dialog Create API Credential, enter a Name and optionally a Description.
  3. Choose the Role your integration needs, usually the same as for the old credential. The role can't be changed later. See Roles and Permissions for Users and API Keys.
  4. Optionally set an Expiration Date and create the credential.
  5. Click Copy All Credentials and store the API key, client ID and client secret in a safe place.

Dialog Create API Credential with the fields Name, Description, Role and Expiration Date

 

2. Update your integration

Replace the old values in your code, configuration or secret store and send a test request.

 

3. Delete the old credential

  1. In Developer > API Credentials, choose Delete for the old credential.
  2. In the dialog Delete API Credential, choose one option and confirm:
    • Revoke: the credential stops working immediately and stays in your list with the status Revoked.
    • Purge: the credential stops working immediately and is permanently deleted.

Dialog Delete API Credential for an already revoked credential with the option Purge

This action can't be undone. More details: Creating API Credentials.

Banner An API developers actually love with the button Test the Sandbox