As a Partner, you're able to use our different APIs to access, publish and modify data on the Dailymotion Platform.
In this article you will get more information about our different API keys type, and you will learn how to manage an API key to easily set up different level of accesses for the channels within your organization.
Manage API keys
Only Owners and Admins can access the API management available on the Organization menu
Get more information about the roles available in your organization.
Understand the API keys
Dailymotion provides you with 2 different API types : One for your client-side application and the other for your server-side application :
Public API key
Recommendations | Best suited for client-side application where keys need to be public |
---|---|
Private data access | To access private data access token will need to be generated with username and password along with the key and secret |
Endpoints available |
Generated access token is compatible with:
|
Private API key *
Recommendations | Best suited for server-side applications where keys can be hidden |
---|---|
Private date access | To access private data access token should be generated with just the key and secret |
Endpoints available |
Generated access token is compatible with:
|
* Private API Keys are only available to certified Partners. Please reach out to your designated Account Manager or our Support Team for more details.
Understand your API tokens
Public and Private API keys can be use to generate API tokens, which are required to perform API calls.
Depending on your API key type, different methods can be used to generate your API token.
Public API key
Token generated using... | API key & secret | API key & secret + user credentials |
---|---|---|
Data | Public data only | Public and private data |
Channel access | N/A | Channel access inherited from the supplied user credentials |
Scopes & Permissions |
Default read permissions only |
Permissions inherited from the supplied user credentials |
Private API key *
Token generated using... | API key & secret |
---|---|
Data | Public and private data |
Channel access | Channel access is based on the permissions defined for this API key |
Scopes & Permissions |
Scopes and permissions are based on the permissions defined for this API key |
* Private API Keys are only available to certified Partners. Please reach out to your designated Account Manager or our Support Team for more details.
Creating a new API key
To create a new API key, please proceed as follow:
- Go to your Dailymotion Studio and click on Organization from the navigation menu
- Click on API Keys and select Create API Key
- Select the type of API key you would like to create
- Fill the form with your API key information (title, callback, description...)
- Click Create
You API key and secret will now be displayed on your API key list.
Store your API secret
Note that for Private API keys the secret is only displayed once! Your Support team won't be able to get it back for you so please make sure to copy and store in a safe place.
Editing an API key
To edit your API keys, please proceed as follow:
- Go to your Dailymotion Studio and click on Organization from the navigation menu
- Click on API Keys
- Click on the API Key you'd like to edit
- Make the required changes and click Save
Deleting an API key
To delete one of your API key, please proceed as follow:
- Go to your Dailymotion Studio and click on Organization from the navigation menu
- Click on API Keys
- Click the Delete button next to the API key you'd like to Delete
API key deletion on applications
Note that any application still is using this API key will not work once the key is deleted
Using an API Key
API key can be used to authenticate against Dailymotion APIs. Please refer to Authentication guide to learn how to use the API keys to generate access tokens.