cURL
Blog
Translate a blog post
Asynchronously translates the post (title, content, excerpt, meta_title,
meta_description) into one or more target languages. Returns a
Job with type: translation.batch. On completion, the
post’s translations[] array contains the new locales.
Costs 7 credits per target language (translate_language).
POST
cURL
Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Path Parameters
Example:
142
Body
application/json
Example:
["fr", "de", "es"]Response
Translation job queued.
Example:
"job_2Ngd9KqLmRpW"
Available options:
blog_post.generate, social_post.generate, image.generate, translation.batch, content_plan.generate, website.generate Available options:
pending, processing, completed, failed, cancelled Required range:
0 <= x <= 100Result payload when status is completed. Shape depends on type:
blog_post.generate→{ post_id, slug, title }social_post.generate→{ social_post_id, title, platforms }image.generate→{ url, key, width, height }translation.batch→{ keys_translated: int, locales: [string] }