API Key Generator

In order to use the API, you will need to authorize your requests to SesameVault, which is normally done with your username and password. For example, to get a list of your videos in PHP you might do the following:

$sesame = new SesameVaultSession('yourname', 'password'); $sesame->videos();

There may be times, however, when you do not want to store your SesameVault username and password in your code (for example if you're using the javascript API library, which would require you to expose this information to the world).

To get around this, you can generate an API Key which consists of a temporary username and password. An example might look like this:

username: yourname,5bb6961035a670v79b6a7d5fdff4c6b6be82606e password: 405624befd6b491cae0753c5165b9x4871639ec4

You can then use this new username and password as you normally would to authorize requests. API Keys also give you the added functionality of being able to specify which API calls are allowed with the key, which lets you lock it down to benign functions such as listing videos or setting tags.

Use the API Key generator below to create a new key:

API Key Generator

You need to be logged in to generate API Keys (login)
Key lifetime:
minutes
(how long the API key is valid before it expires)
Allowed calls:
A list of API calls (each on its own line) that this key is valid for. For example:

/vault/videos
/video/info/*

Which would let this key access the vault video list, and the video metadata info for any video.

Notice the wildcard character *, which represents any arbitrary text or numbers. If you wanted to allow this key to access any API call, you would use just the wildcard.

If you leave this field blank, the key won't be able to access any calls.
Key referer:
(If this key will be used to authorize a link embedded on a web page, the referer is the url of that page. Leave blank for no restriction.)