Skip to content

API Overview

This is the documentation of the public API of ParOne, Inc. The API allows you to programmatically manage your ParOne resources, including organizations, videos, feeds, and analytics. It’s designed to be RESTful and uses standard HTTP protocols.

Authentication

The ParOne APIs have two main classes of endpoints: read-only endpoints and read/write/update endpoints. Read-only endpoints are optimized for large numbers of client requests, whereas the read/write/update endpoints are low-frequency endpoints.

To authenticate just add the appropriate HTTP header to your HTTP request.

Read-only endpoints

To authenticate read-only endpoints, use your feed sync code. You can find your code in Settings -> Organization -> Feed Sync Code

HTTP headerTypeDescription
X-Parone-Sync-CodeStringYour Feed Sync Code.

Read/write/update endpoints

To authenticate other endpoints, use your API Key and API Secret. You can find them in Settings -> Organization.

HTTP headerTypeDescription
X-Parone-Api-KeyStringYour API Key.
X-Parone-Api-SecretStringYour API Key Secret.
# Example: Making an authenticated request with required headers

curl -H "X-ParOne-API-Key: your-api-key" \
     -H "X-ParOne-API-Secret: your-api-secret" \
     "https://external.parone.io/v2/"

Rate Limiting

The API implements rate limiting to ensure fair usage. Current limits are:

100 requests per minute for standard accounts
1000 requests per minute for enterprise accounts

If you exceed these limits, you’ll receive a 429 (Too Many Requests) response.

Response Format

All responses are in JSON format. Successful responses typically include either a data object or a status field. Error responses include an error field with a description of what went wrong.

Example success response

{
  "status": "ok",
  "data": { ... }
}

Example error response:

{
  "error": "Invalid API key",
  "status": "KO"
}

Available Endpoints

MMI (Media Management Identifier)

The MMI (Media Management Identifier) allows you to access content from specific sub-organizations within your account. This is useful when you need to isolate videos related to a particular sub-organization.

HTTP HeaderDescription
X-ParOne-MMI-KeyThe MMI key for sub-organization access
# Example: Making a request with MMI for sub-organization access

curl -H "X-ParOne-API-Key: your-api-key" \
     -H "X-ParOne-API-Secret: your-api-secret" \
     -H "X-ParOne-MMI-Key: your-mmi-key" \
     "https://external.parone.io/v2/"

Best Practices

Error Handling: Always check for error responses and handle them appropriately
Rate Limiting: Implement exponential backoff when hitting rate limits
Caching: Cache responses when appropriate to reduce API calls
Versioning: Keep track of API changes through our changelog