Skip to content

Instantly share code, notes, and snippets.

@lirenyeo
Last active May 19, 2021 15:14
Show Gist options
  • Save lirenyeo/0ea1ccf20a2f42db6ebd6a457aeda548 to your computer and use it in GitHub Desktop.
Save lirenyeo/0ea1ccf20a2f42db6ebd6a457aeda548 to your computer and use it in GitHub Desktop.
[3 minutes] Creating Vimeo API Key

In order for developers to build feature for users to upload videos directly to Vimeo, account owner needs to create a 'developer app' that comes with Personal Access Token and Secret Keys (we usually just call all these "API Keys"), and pass that to programmers.

Vimeo also requires owner to specifically request for permission to do direct video upload, this request might take up to 5 days for approval, so please prepare it as early as possible.

Note: For direct video upload, the vimeo account needs to be of Pro, Business, Premium or Enterprise tier

Steps

  1. Visit https://developer.vimeo.com/apps/new
  2. Click 'Create An App'
  3. Fill in App name and description
  4. After creating the app, click on 'Request Upload Access' and proceed to make the request Create App Form

Generate API key

  1. Under "Authentication" section, choose 'Authenticated (you)'
  2. Check these boxes:
    • Private
    • Create (to create folders)
    • Edit (to be able to rename folders if needed)
    • Video Files
    • Upload (most important one, will only be available if the upload access permission is granted)
  3. Press "Generate"
  4. Take note of the generated token

Create a folder in Vimeo to store these user uploaded videos

  1. Create a new folder and name it accordingly
  2. Click on the newly created folder, and copy the URL from browser

Pass these to programmers

  1. Personal Access Token generated from above steps
  2. Client secrets
  3. Folder URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment