Skip to main content

Quickstart

You can make your first content request in under five minutes if you already have access to a TPC organization.

Step 1: Create an API key

Open your organization API key settings:
Create a key with these scopes:
Copy the key immediately. TPC shows the secret once.
Use a read-only key with only content:read until your integration needs to create, update, or delete content.

Step 2: Make your first request

Export your key and product ID:
List published content for the product:
A successful response returns ok: true:

Step 3: Parse the envelope

Every JSON endpoint returns an ApiResult<T>:
Handle both branches explicitly:

Step 4: Add pagination and filters

The content list endpoint accepts query-string filters:
Common filters:

Step 5: Create a page

Create a page with content:write:
Expected response:
Created pages land in the review queue. Approve and publish them with POST /api/v1/content/{draftId}/review ({"action": "approve"}) — approval queues publishing automatically — or browse the queue with GET /api/v1/content?status=pending_review.

Troubleshooting

Every response includes x-request-id. Include that value when you contact support.