Authentication Headers
Include these headers with every API request:| Header | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Your unique API key provided by Publive |
password | string | Yes | Your API secret provided by Publive |
Example Request
Content-Type header:
Getting Your Credentials
- Log in to your Publive Dashboard
- Go to Settings > API Keys
- Your API Key is the
usernamevalue - Your API Secret is the
passwordvalue - Your Publisher ID is visible in your dashboard URL
Authentication Errors
If authentication fails, the API returns a401 Unauthorized response:
- Missing
usernameorpasswordheader - Invalid or expired API credentials
- Using CMS credentials for a CDS endpoint (or vice versa)
Publisher ID
Every API endpoint requires yourpublisher_id in the URL path: