Create Vimeo Connection
Vimeo Integration
Create Vimeo Connection
Connect your Vimeo account to enable automatic video uploads
POST
Create Vimeo Connection
Documentation Index
Fetch the complete documentation index at: https://docs.pictory.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Create a new Vimeo connection using your authentication credentials and configuration. Each connection name must be unique within your account. For security, sensitive credentials (client secret and access token) are securely stored and never returned in subsequent API responses.You need a valid API key and Vimeo developer credentials to use this endpoint. Get your API key from the API Access page in your Pictory dashboard.
API Endpoint
Request Parameters
Headers
API key for authentication (starts with
pictai_)Body Parameters
Display name for the Vimeo connection. Must be unique within your account and can only contain letters, numbers, spaces, underscores, and hyphens.Maximum length: 100 charactersExample:
"My Vimeo Account"Optional description explaining the connection’s purpose or usage.Maximum length: 250 charactersExample:
"Primary Vimeo account for marketing videos"Whether the connection should be active immediately after creation. Set to
true to enable, or false to create in a disabled state.Example: trueVimeo application Client ID from your Vimeo app settings. This identifies your application to Vimeo’s API.Maximum length: 500 charactersExample:
"abc123def456ghi789jkl012"Vimeo application client secret from your app settings. Keep this confidential and never expose it in client-side code.Maximum length: 500 charactersExample:
"xyz789abc123def456ghi789"Vimeo access token that grants your application permission to access Vimeo resources. Obtain this through Vimeo’s OAuth flow or from your app settings.Maximum length: 500 charactersExample:
"1234567890abcdef1234567890abcdef"Response
Returns the created Vimeo connection object including theconnectionId, name, description, enabled status, and version number. For security, sensitive credentials (clientSecret and accessToken) are never returned in API responses - you will only see the clientIdentifier.
Response Examples
Code Examples
Error Handling
400 Bad Request - Duplicate Connection Name
400 Bad Request - Duplicate Connection Name
Cause: A connection with the same name already exists in your accountSolution:
- Choose a unique name for your connection
- Use the Get Vimeo Connections endpoint to see existing connection names
- Or update the existing connection using the Update Vimeo Connection endpoint
400 Bad Request - Validation Error
400 Bad Request - Validation Error
Cause: Required fields are missing or field values do not meet validation requirementsSolution:
- Ensure all required fields are included:
name,enabled,clientIdentifier,clientSecret,accessToken - Verify field values do not exceed maximum lengths:
name: 100 characters maxdescription: 250 characters maxclientIdentifier,clientSecret,accessToken: 500 characters max
- Check that
nameonly contains letters, numbers, spaces, underscores, and hyphens - Verify the request body is valid JSON
401 Unauthorized
401 Unauthorized
Invalid Vimeo Credentials
Invalid Vimeo Credentials
Cause: The Vimeo client identifier, client secret, or access token is invalidSolution:
- Verify your credentials in the Vimeo Developer Portal
- Ensure you are using the correct Client ID, Client Secret, and Access Token
- Check that your Vimeo app has the necessary permissions (video upload and management)
- Generate a new access token if the current one has expired
Prerequisites: Getting Vimeo Credentials
Before creating a Vimeo connection, you need to obtain credentials from Vimeo:Step 1: Create a Vimeo App
- Go to the Vimeo Developer Portal
- Sign in with your Vimeo account
- Click Create App or New App
- Fill in the required details (app name, description, etc.)
- Click Create App
Step 2: Get Your Credentials
- Once your app is created, you will see the app details page
- Note down the Client Identifier (Client ID)
- Note down the Client Secret (keep this secure!)
- Generate an Access Token with the required scopes:
video- Upload and manage videosprivate- Access private videos
