Knowledge Base

Create permanent OAuth 2.0 API tokens

Are you creating an integration that does not require any user interaction and only makes use of machine-to-machine communication? Create OAuth 2.0 API tokens to facilitate your use case. Read more about creating these tokens below.

Are you creating an integration with users accessing Bynder resources? Use OAuth Apps instead.

Why would I use permanent OAuth 2.0 API tokens?

A permanent API token can be created to keep a system in sync with Bynder or to upload data, such as assets. Below you will find two use cases of how you could use permanent tokens.

  • A product company wants to sync their Product Information Management (PIM) metadata with Bynder asset metaproperties.
  • The marketing team within a company is looking for generic assets that their DAM does not include and hence purchases assets on stock repositories, such as Getty or Shutterstock. These assets need to be uploaded to the Bynder DAM using the API.

Both use cases are an example of simple integrations where no user interaction is involved. In both examples different systems need to stay in sync or resources need to be uploaded from one system to another.

How to enable permanent OAuth 2.0 tokens?

Contact your Customer Success Manager if you want to have this feature enabled for your portal.

How to create permanent OAuth 2.0 tokens?

Who can create and delete permanent OAuth 2.0 API tokens?
Users with the following rights can create and delete these tokens:

  • Manage Permanent Tokens
  1. Go to your Bynder portal.
  2. Go to Settings > Advanced Settings > Portal settings and click Permanent Tokens.
  3. Click the Add new token button.
  4. Enter a description for the token in the Description field.
  5. Click the Assigned user dropdown to assign the permissions of a user to the token. Enter the name of the user and click one of the returned search results.
  6. In the Scopes section select the Bynder resources you want to access with this permanent token.
  7. Click Create token to create the token. The new permanent token will be displayed.
  8. Copy the token and make sure not to lose it, since it will only be displayed once and cannot be regenerated.
    The token cannot be edited after creation.

You can now find the token in your permanent tokens overview screen. This is a permanent token, which does not have to be refreshed and works similar to our previous OAuth 1.0a permanent API tokens.

How to delete permanent OAuth 2.0 tokens?

You can deleting a token by following the steps below.

  1. Go to your Bynder portal.
  2. Go to Settings > Advanced Settings > Portal settings and click Permanent Tokens.
  3. Click the icon of the token you want to delete.
  4. Click the Delete token button. A popup will open.
  5. Read the warning message and click the Delete button if you wish to permanently delete the token.
  6. This action cannot be undone.

The token is now deleted and can no longer be used. Integrations that are making use of the deleted token will no longer work.

Learn more