v1.0.0OpenAPI 3.1.1

Blog API

Download OpenAPI Document

Blog posts written with AI for your websites, translated through your translation memory, with SEO, reviews, scheduling and webhooks.

Write blog posts with AI for your websites, translate them through your translation memories, and review, schedule and publish them. A post comes with its SEO pack and, if you ask, a hero image. Its structured data is derived from saved page content; publish the content in your CMS and record each language’s real URL. New here? Read Blog for the whole flow, then make your first call with the Quickstart.

Every request

Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.

The typical flow: add a website, write a post from a title, a brief or a topic, poll Get a post until it is a draft with nothing pending, publish its contentHtml and mark it published, then translate it and poll Get a translation. Register a webhook to be told when posts and translations are ready instead of polling.

Languages in this API are BCP-47 codes such as en-US, fr-FR or hi-IN: the code of a language from List languages. Translating into a language a post already has replaces that translation, edits included, so check List translations first.

Writing, translating, AI actions, hero images, Autopilot runs, brand voice checks and recordings charge credits when they start, and are settled when they end. Those endpoints say so on their page, with the current price, and each has a price route that returns what its start will charge. Without enough credits they return 402 and nothing is created. See Credits.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Websites

A website is what your posts are written for. Its defaults (language, translation memory, brand kit, memories, prompt, reviewer and voice) apply to every post, translation, Autopilot run and recording you start for it. Once your organization has a website, every new post must name one.

List websites

Add a website

Get a website

Auth Required

One website, with its defaults and its Google Analytics 4 and Search Console connection.

Permission: blog.site:read. An API key acts with the role of the member who created it.

Path Parameters

idstring · uuidrequired

Website ID (id from Add a website or List websites).

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b

Responses

200The website.
application/json
idstring · uuidrequired

Website ID. Send it as siteId when you write posts for it.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b
namestringrequired

Display name. Defaults to the domain.

Example: Acme Tractors
websiteUrlstringrequired

The website, normalized to its https:// origin and path, without a trailing slash.

Example: https://example.com/blog
domainstringrequired

The host of websiteUrl.

Example: example.com
sitemapUrlstring | nullrequired

The sitemap Autopilot audits, or null to discover it on the first run.

Example: https://example.com/sitemap.xml
nicheSummarystring | nullrequired

What the last Autopilot run understood the website to be about. Drafts use it to write for the right audience. Null before the first run.

Example: Compact and utility tractors for smallholders and small farms in North America.
defaultsSiteDefaultsDtorequired

Defaults for the website’s posts, Autopilot runs, translations, reviews and recordings. Only the keys that were set are present.

Show child attributes
reviewerMemberIdsstring[]required

All reviewers; empty means anyone who can review.

Example: ["6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d"]
memoryIdsstring[]

Memory notes from your organization’s memory library (in the Universe app) that every draft and Autopilot run of the website reads as context. Up to 25.

Example: ["4f5a6b7c-8d9e-4f0a-9b1c-2d3e4f5a6b7c"]
promptIdstring · uuid | null

A prompt from your organization’s prompt library (in the Universe app), added to every draft and Autopilot run. null clears it.

Example: 7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b
brandKitIdstring · uuid | null

The brand kit (id from List brand kits in the Image Translation API) whose tone of voice the posts follow, and which hero images and brand voice checks use. null clears it.

Example: 2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a
tmIdstring · uuid | null

The translation memory every translation of the website’s posts uses when the request names none (id from List translation memories in the Translation Memory API). Its term bases also feed term checks. null clears it.

Example: 3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f
sourceLanguagestring | null

The language posts are written in when Write a post names none: a BCP-47 code from List languages (Platform API). Without it, posts are written in en-US. null or an empty string clears it.

Example: en-US
reviewerMemberIdstring · uuid | null

The member Send a post for review asks when the request names nobody. null: anyone who may review.

Example: 6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d
audioVoiceBlogVoiceDto

The voice Record a post uses when the request names none. null clears it.

Show child attributes
providerstringrequired

Provider that speaks with the voice: provider of a voice from List voices in the Video Dubbing API.

Enum values:elevenlabscartesiamicrosoft
Example: cartesia
voiceIdstringrequired

The voice's ID at its provider: providerVoiceId of that voice.

Example: 6ccbfb76-1fc6-48f7-b71d-91ac6298247b
namestring | nullrequired

Display name of the voice.

Example: tessa
genderstring | nullrequired

Gender of the voice, as the catalog gives it.

Example: female
voiceTypestring | nullrequired

Kind of voice, as the catalog gives it (for example standard or cloned).

Example: standard
emotionstring | nullrequired

Delivery emotion, for providers that support it.

Example: null
localiseSeoboolean | null

Whether each translation also gets a native meta title, description, keywords and slug (the localized SEO pass, charged with the translation). On unless set to false.

Example: true
analyticsSiteAnalyticsDtorequired

The analytics connection. Google’s tokens are never returned.

Show child attributes
googleBlogGoogleConnectionDtorequired

The Google connection, or null when Google is not connected.

Show child attributes
statusstringrequired

connected, or error when the last sync failed (see error). Connect Google, and choose the property, in the Universe app.

Enum values:connectederror
Example: connected
accountEmailstring | nullrequired

The Google account that granted access.

Example: marketing@example.com
ga4PropertyIdstring | nullrequired

The Google Analytics 4 property the website reads, or null when none is chosen.

Example: properties/312345678
ga4PropertyNamestring | nullrequired

Display name of that property.

Example: Acme Tractors – GA4
gscSiteUrlstring | nullrequired

The Search Console property the website reads, or null when none is chosen.

Example: sc-domain:example.com
scopesstring[]required

The Google scopes that were granted.

Example: ["https://www.googleapis.com/auth/analytics.readonly","https://www.googleapis.com/auth/webmasters.readonly"]
connectedAtstring · date-timerequired

When Google was connected.

Example: 2026-09-21T08:12:44.000Z
lastSyncedAtstring · date-time | nullrequired

When analytics were last synced. They sync every day; null before the first sync.

Example: 2026-10-07T04:00:12.000Z
errorstring | nullrequired

Why the last sync failed, or null.

Example: null
createdAtstring · date-timerequired

When the website was added.

Example: 2026-09-21T08:05:10.000Z
updatedAtstring · date-timerequired

When the website last changed.

Example: 2026-10-07T04:00:12.000Z
400A path ID is not a UUID (`Validation failed (uuid is expected)`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404No website with this ID in your organization (`Site <id> not found`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
GET/v1/galaxy/blog/site/{id}
curl '{{API_BASE_URL}}/v1/galaxy/blog/site/c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "id": "c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b",
  "name": "Acme Tractors",
  "websiteUrl": "https://example.com/blog",
  "domain": "example.com",
  "sitemapUrl": "https://example.com/sitemap.xml",
  "nicheSummary": "Compact and utility tractors for smallholders and small farms in North America.",
  "defaults": {
    "memoryIds": [
      "4f5a6b7c-8d9e-4f0a-9b1c-2d3e4f5a6b7c"
    ],
    "promptId": "7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b",
    "brandKitId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
    "tmId": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
    "sourceLanguage": "en-US",
    "reviewerMemberId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
    "reviewerMemberIds": [
      "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d"
    ],
    "audioVoice": {
      "provider": "cartesia",
      "voiceId": "6ccbfb76-1fc6-48f7-b71d-91ac6298247b",
      "name": "tessa",
      "gender": "female",
      "voiceType": "standard",
      "emotion": null
    },
    "localiseSeo": true
  },
  "analytics": {
    "google": {
      "status": "connected",
      "accountEmail": "marketing@example.com",
      "ga4PropertyId": "properties/312345678",
      "ga4PropertyName": "Acme Tractors – GA4",
      "gscSiteUrl": "sc-domain:example.com",
      "scopes": [
        "https://www.googleapis.com/auth/analytics.readonly",
        "https://www.googleapis.com/auth/webmasters.readonly"
      ],
      "connectedAt": "2026-09-21T08:12:44.000Z",
      "lastSyncedAt": "2026-10-07T04:00:12.000Z",
      "error": null
    }
  },
  "createdAt": "2026-09-21T08:05:10.000Z",
  "updatedAt": "2026-10-07T04:00:12.000Z"
}

Update a website

Posts

A post is written with AI from a title, a brief or a topic, then edited, published and translated. Writing one charges credits and runs in the background: poll Get a post until status is draft and nothing is pending. Get a post returns the text as HTML and as Markdown.

Write a post

Price a post

List posts

Get a post

Update a post

Move a post to a project

Save an export to assets

Get an upload URL for an export

Translation memory sync

Keep a translation and its translation memory in step: write the corrections a person made back to the memory, or pull wording the memory now has into the translation. Only finished translations sync.

Get the sync status

Sync to the translation memory

Sync from the translation memory

AI actions

Work an AI model does on an existing post: the SEO pack, follow-up topics, editor actions and a refresh from analytics. Each one charges credits and returns a run: poll Get a run until status is DONE or FAILED. Price any of them first with Price an AI action.

Price an AI action

Generate the SEO pack

Suggest follow-up topics

Run an editor action

Refresh from analytics

Get a run

List the runs of a post

Hero images

The image at the top of a post: generated with your brand kit, or chosen from your organization's assets. heroImage.url is a stable address you can embed in the published post.

Generate a hero image

Use an asset as the hero image

Save the hero image to assets

Reviews

An optional approval step before publishing. A post sent for review is locked until a key with the blog.post:review permission approves it or sends it back, or the review is withdrawn.

Send a post for review

List the review queue

Approve a post

Request changes

Versions

Every save that changes a post's title, text or SEO pack is a new version. List them, read one, or restore an earlier one as a new version.

Completed translations also have their own saved history. List a translation’s versions and restore one using its updatedAt for optimistic concurrency. Restoring writes a new current version, preserves published URL/credit accounting, and does not charge credits. Old revisions discarded before history was installed cannot be recovered. Refresh structured data after restoration.

List versions

Get a version

Restore a version

SEO

Schema.org structured data, the on-page SEO score and the hreflang links of a post and its translations, computed on every read from their published URLs.

The graph describes only the selected saved language. It includes the actual title/body, visible body images and matching visible FAQs. Set each language’s real published URL; no draft URL, author or breadcrumb is invented. The result includes publishing warnings. Schema wordCount uses linguistic segmentation and does not change credit metering. Google no longer displays FAQ rich results.

Get structured data

Checks

Review a post before it goes out: a brand voice check against your brand kit's tone of voice (charged, runs in the background), or a term check against your translation memory's term bases (free, instant).

Run a brand voice check

Run a term check

List checks

Audio

Recordings of a post or of one of its translations, read aloud by a text-to-speech voice. One recording per language; each is charged per second of speech and saved to your organization's assets.

Price a recording

Record a post

List recordings

Get a recording

Autopilot

Autopilot audits a website's sitemap, groups what it could rank for into keyword clusters, and writes topic suggestions to write next. A run is charged once when it starts and works in the background: poll Get an Autopilot run.

Price an Autopilot run

Start an Autopilot run

List Autopilot runs

Get an Autopilot run

List audited pages

Topics

The backlog of what to write next: suggestions from Autopilot, follow-ups from finished posts, and topics you add. Write one with Write a post and its topicId.

List topics

Add a topic

Get a topic

Dismiss or restore a topic

Calendar

The editorial calendar of a website. Its cadence plans entries from the topic backlog and, in auto mode, writes each one on its day within a weekly credit budget. Entries can also be added, moved, skipped and written by hand.

Cadence responses distinguish nextPublishAt, the next selected weekday/hour in the website's timezone, from nextTickAt, the daily planning and retry check. A publishing slot does not guarantee an entry or a published post: the topic backlog, weekly allocation, budget and review still apply. Both timestamps are absolute instants; display them in settings.timezone. Both are null while cadence is off.

Get the cadence

Set the cadence

Price a cadence run

Run the cadence now

List calendar entries

Add a calendar entry

Update a calendar entry

Write an entry now

Analytics

Numbers from the website's Google Analytics 4 and Search Console, synced every day once Google is connected in the Universe app.

Get insights

Get post performance

Webhooks

Get a signed POST to your own URL when a post, translation, recording or Autopilot run finishes, instead of polling. See Webhooks for the events, the payload and how to check the signature.

Register a webhook

List webhooks

Update a webhook

Send a test delivery

List deliveries

Models

AddMatchingLinksDto
AnalyticsPageRowDto
AnalyticsQueryRowDto
AudioVoiceDto
AutopilotChargesDto
AutopilotClusterDto
AutopilotRunDetailDto
AutopilotRunDto
AutopilotRunInputsDto
AutopilotRunProgressDto
AutopilotSiteSummaryDto
BlogAiRunDto
BlogAnalyticsSummaryDto
BlogCadenceDto
BlogChargesDto
BlogGoogleConnectionDto
BlogPostDto
BlogPostListDto
BlogPostListItemDto
BlogPostSummaryDto
BlogQuoteItemDto
BlogRecordingDto
BlogSiteDto
BlogTopicDto
BlogTopicListDto
BlogTranslationDto
BlogTranslationVersionDto
BlogTranslationWithContentDto
BlogVoiceDto
BlogWebhookCreatedDto
BlogWebhookDto
CadenceSettingsDto
CalendarEntryDto
CalendarEntryPostDto
CreateEntryDto
CreateSiteDto
CreateStagedUploadDto
CreateTopicDto
CreateTranslationDto
CreateWebhookDto
EditorActionDto
Ga4InsightsDto
GenerateAudioDto
GenerateChargesDto
GenerateEntryDto
GeneratePostDto
GscInsightsDto
HeroFromAssetDto
HeroImageDto
HreflangAlternateDto
HreflangDto
InsufficientCreditsErrorDto
MovedPostProjectDto
MovePostToProjectBodyDto
MovePostToProjectResponseDto
NewTmSourcePairDto
PerformanceOpportunityDto
PostAssigneeDto
PostChargesDto
PostCheckAgainstDto
PostCheckDto
PostCheckIssueDto
PostCheckResultDto
PostFaqDto
PostFollowupDto
PostGenerationContextDto
PostHeroImageDto
PostLinkDto
PostPendingDto
PostPerformanceDto
PostSeoCheckDto
PostSeoDto
PostSeoScoreDto
PostVersionDto
PostVersionSummaryDto
PublicAttributionDto
PublicAuthorDto
PublicPublisherDto
ReviewDecisionDto
ReviewRequestDto
SaveBlogToAssetsDto
SaveExportToAssetsResponseDto
SaveHeroToAssetsResponseDto
SiteAnalyticsDto
SiteDefaultsDto
SiteInsightsDto
SitemapPageDto
SitemapPageListDto
SitePerformanceDto
StagedUploadTicketDto
StartAutopilotRunDto
StructuredDataDto
SyncFromTmDto
SyncFromTmResultDto
SyncToTmDto
SyncToTmResultDto
TermLintDto
TmSyncStatusDto
TopicOutlineSectionDto
UnpairedTmSegmentDto
UpdateEntryDto
UpdatePostDto
UpdateSiteDto
UpdateTopicDto
UpdateTranslationDto
UpdateWebhookDto
UpsertCadenceDto
VoiceCheckDto
WebhookDeliveryDto
WebhookPayloadDto