List content styles
The built-in presets (ids like preset:story) and the workspace’s custom styles. Archived custom styles are left out unless includeArchived=true. Send a style’s id as contentStyleId when generating or saving a post.
Authorizations
Send your API key in the x-api-key header on every request.
- Create a key in PostChamp under Settings → API keys. API access needs the Studio plan.
- Keys start with
pc_live_. The full key is shown once, when you create it: copy it then. Afterwards only its prefix is shown; lost keys are revoked and replaced. - Calls run as the person who created the key, with their current role, and spend the organization's credits.
- Limits per key: 120 requests per minute, 20 generation calls per minute. Keep the key on your server, never in a browser or app.
Path Parameters
Example: "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f"
Query Parameters
Send true to include archived custom styles. Default false.
Available options: true, false
Response
Presets and custom styles.
preset:<key> for built-ins, else the style uuid.
Available options: preset, custom
Available options: story, contrarian, lesson_learned, build_in_public, observational, reflection, milestone, tactical, null
Send it back when removing the example.