Organization Themes

Create an Organization theme draft

post/themes

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/themes
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

duplicate_built_in_idstring

Built-in family to copy into an editable draft

namestring required

Theme family name

organization_idstring required

Organization ID

Example request

{
  "$schema": "https://example.com/api/v1/schemas/CreateThemeInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/api/v1/schemas/Theme.json",
  "latest_published": {
    "$schema": "https://example.com/api/v1/schemas/PublishedRevision.json"
  }
}

Changes