API Reference
Content OS
Content OS API

Content OS API

Generate a sample piece of content from the brand you set up in Console.

Base URL: https://content-os-api.pcampus.co

How to connect

POST https://content-os-api.pcampus.co/v1/generate
Authorization: Bearer pip_YOUR_API_KEY
x-tenant-id: your-tenant-id
Content-Type: application/json

Sample request

{
  "brief": "Write a short message inviting a customer to come back"
}

Sample response

{
  "contentId": "cnt_001",
  "status": "draft",
  "body": "Hi — your favorites are still here when you are ready"
}

Set up the brand in Console first, then call the API.