API Onboarding - Prime Video Tech Docs

API Onboarding

Last updated 2026-01-23

Prime Video offers partners two comprehensive API suites designed to streamline content management and provide valuable business insights. This guide outlines the complete onboarding process for both the Content API Suite and Analytics API Suite, including authentication requirements, technical setup, and key differences between the two.


Onboarding to Content API Suite

Step 1: Request Access and Generate Credentials

Reach out to your Prime Video contact or raise an access request via Contact Us to request access in the Content API Suite.

Step 2: Generate Credentials and Submit

Once your access request is approved, generate a private key and Certificate Signing Request (CSR) for each environment and share them with your designated Prime Video contact.

Generate your CSR
You can use any certificate tool to generate your CSRs. If you would like to use OpenSSL you can run the following two commands:

Submit your CSR to your Prime Video Contact
The CSR contains all the info that we need to generate your API certificate. This is the file that you will send your contact as a part of your onboarding request. Once Prime Video receives your CSR, you will not need this file again.

Note: It is very important that you keep your private key files secure and never share it with anyone, including Prime Video. We will never ask for this file. You will use it later when making your API calls to us.

Step 3: Receive Your Credentials

Once your request is approved, you will receive an email from the Prime Video team with the following information:

  • The Public Certificate that you will use to make calls to us.
  • Your API key for request headers
  • The URL Endpoints for the API calls.
  • Information about the TPS that you are configured for with your certificate.

Step 4: Configure Your Integration

Congratulations! You can now use your private key, public certificate, and API key to call the API. Here are sample integrations using different technologies:

Bash

Python

Node.js

Step 5: Test Your Integration

For the Avails API, we offer testing support to ensure you can successfully submit, update, and expire avails via API. Since these operations directly impact assets (not just data retrieval), we strongly recommend all partners test their integration thoroughly. For the Offer Status and Asset Status APIs, since these are read only, you can test using the Production account.

Step 6: Start Using the API

Congratulations! Your testing is complete and validated. You can now begin using the production environment with your production credentials to manage your content on Prime Video. Your integration is ready to streamline your content operations and provide real-time visibility into your catalog.

Content APIs FAQs


Onboarding to Analytics API Suite

Step 1: Create Your Security Profile

As part of this step, you will set up application credentials and configure your authentication settings through Amazon’s Developer Console.

Register your application

  1. Navigate to the Amazon Developer Console to begin the registration process
  2. Sign in with your existing Amazon developer account, or create a new account if you don’t have one
  3. Click Create a New Security Profile to start configuring your application’s authentication settings
Login to AmazonDeveloper.png

Configure your profile

  1. Security Profile Name: Choose a descriptive name that clearly identifies your integration (e.g., “Performance Data Integration” or “Analytics API Access”)
  2. Description: Provide a clear explanation of your application’s purpose and how it will use the Analytics APIs
  3. Privacy Notice URL: Include a URL that explains to users how your application will handle and protect their data
  4. Click Save to create your security profile
  5. You should receive a successful message once set up correctly
Security Profile Management.png

Set your redirect URL

  1. Go to your profile and select Security profile tabs to Manage on your newly created security profile:
  2. Then select Web Settings to configure your application’s redirect behavior
  3. Add your redirect URL—this is the secure endpoint where users will be sent after authorizing your application (must use https:// or https://localhost for local development)
Security Profile Management 2.png

Important: Save this URL securely—you will need to use this exact URL in the next step when generating your authorization code.

Receive your credentials

  1. Navigate to the Web Settings tab to access your application credentials
  2. Copy your Client ID (this serves as your application’s unique identifier) and Client Secret (this acts as your application’s password)
  3. Store both credentials securely in your organization’s secrets management system—these will be used to authenticate all your API requests

Step 2: Authorize Your Application

As part of this step, you will authorize your application to access Prime Video Slate on behalf of your organization, establishing the permissions needed to retrieve performance data and analytics through the APIs.

Add your application to Slate

  1. Sign in to your Prime Video Slate account using your organization’s credentials
  2. Navigate to Account Settings in the top-right corner, then select Applications from the dropdown menu
Slate Applications.png

  1. Click Add Application to begin the authorization process
Add applications.png

  1. Enter your Client ID (from Step 1) in the provided field
  2. Select the Reporting checkbox to grant your application access to performance data and reports
  3. Click Add application to complete the registration in Slate

Generate your authorization code

  1. Construct your authorization URL by replacing the bracketed placeholders with your actual credentials from Step 1:

  1. Open this URL in your web browser to initiate the authorization flow
  2. Sign in with your Slate account credentials when prompted
  3. Review the permissions your application is requesting, then click Allow to grant access
  4. After authorization, you will be redirected to your specified redirect URL—copy the authorization code from the URL’s query string (it will appear as

Best Practice: We recommend creating a dedicated Slate account (e.g., api_access@yourcompany.com) with minimal required permissions specifically for API access. This approach enhances security and makes it easier to manage and audit API usage across your organization.

Note: If you remove the authorizing user’s permissions to use reports, then the application will also have its permission to use reports revoked.

Step 3: Request Your Access Tokens

As part of this step, you will use your authorization code to obtain the tokens required for making authenticated API calls. The access token enables your application to retrieve performance data, while the refresh token allows you to generate new access tokens without repeating the authorization process.

Authorization codes are one-use tokens. When used to retrieve an access_token they return a refresh_token that may be used to retrieve the next access_token. The following section takes you through retrieving your first refresh_token.

Initial Token Request (First Time Only):
To request a token:

  1. Enter the client_id, client_secret, authorization_code, and grant_type as URL-encoded form data.
  2. Make an HTTP request.
    The curl command to generate tokens from authorization_code is shown in the following example.

Refreshing Your Access Token:
For all subsequent sessions after your initial token request, use your refresh token to obtain new access tokens:

Step 4: Configure Your Application

Congratulations! You now have all the credentials needed to call the Performance APIs. As part of this step, you will configure your application to include your access token in the authorization header of each API request, enabling you to retrieve subscription data, performance metrics, and analytics for your content.

Sample API Request:


This example demonstrates how to authenticate your requests—replace with the actual access token you received in Step 3. You can now use this authentication pattern to access all available Performance API endpoints and retrieve the append-only dataset files that contain granular data for your analytics pipelines.

Step 5: Test Integration

We strongly recommend all partners thoroughly test their integration to ensure reliable access to performance data. As part of this step, you will validate that your authentication flow works correctly, your API calls return the expected data, and your error handling is properly configured.

Step 6: Start Using

Once your testing is complete and you have validated that your integration works reliably, you can begin using the production environment to retrieve real-time performance data and analytics for your content on Prime Video. Your data pipelines can now consume the append-only dataset files to perform the granular analytics your organization needs.

Read more about Analytics API data frameworks available here:

  1. Performance Datasets
  2. Reporting
  3. Financial statement
  4. Subscription Event Log

Analytics APIs FAQs

Can’t find what you’re looking for?

Contact us


Errore interno del server. Riprova tra qualche istante.
La tua sessione è scaduta

Accedi per continuare

Accedi
edit