{"openapi":"3.1.0","info":{"title":"KENJTEC API","description":"\nThe KENJTEC API gives you your own data: form responses, shops, orders —\nand webhooks that push new events to your server.\n\n**Authentication.** Create an API key in your dashboard under *Developer*\nand send it with every request:\n\n    Authorization: Bearer kt_api_…\n\nKeys carry scopes: `forms:read`, `orders:read`, `webhooks:manage`,\n`sites:read`, `sites:write`, `wordpress:read`, `wordpress:write`, `domains:read`, `dns:write`,\n`invoices:read`, `invoices:write`, `invoices:send`, `media:read`, `media:write`, `brand:read`,\n`forms:write`, `social:write`, `shops:write`, `addresses:read`, `addresses:write`,\n`brand:write`, `media:generate`, `forms:edit`, `forms:delete`, `shops:apply`, `wordpress:apply`,\n`social:read`, `social:edit`, `social:delete`,\n`print:read`, `print:write`,\n`sites:delete`, `shops:create`, `wordpress:create`,\n`cloud:read`, `cloud:write`, `social:render`,\n`domains:manage`, `domains:delete`, `domains:transfer`.\nThe API is included in every paid KENJTEC plan.\n\n**Writing** goes through the same checks as the KENJTEC apps: plan limits,\nthe AI quota, a complete brand before anything is published, gapless invoice\nnumbers, the content check on every upload. AI endpoints accept an\n`Idempotency-Key` header — retry with the same key and you pay once.\n\n**MCP.** The same account is available to AI assistants at\n`https://api.kenjtec.com/mcp` (Model Context Protocol, Streamable HTTP),\nwith the same key and scopes.\n\n**Lists** are paginated with `limit` (1–100, default 25) and\n`starting_after` (the `id` of the last item you have). Newest first.\n\n**Amounts** are integers in the smallest currency unit (cents; whole yen).\n\n**Errors** look like `{\"error\": {\"type\": \"…\", \"message\": \"…\"}}`. Refusals\nfrom the apps add `detail`, the sentence the app itself shows.\n\n**Rate limit:** 120 requests per minute per key. Beyond that: `429` with\n`Retry-After`.\n","version":"v1"},"servers":[{"url":"https://api.kenjtec.com","description":"KENJTEC API"}],"paths":{"/v1/me":{"get":{"summary":"The account behind this key","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}},"security":[{"ApiKey":[]}]}},"/v1/forms":{"get":{"summary":"List your forms","operationId":"formulare_v1_forms_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a form from a sentence (AI)","description":"The FormBuilder turns your description into a form with fields and a title. Uses the account's AI quota. If the subscription allows publishing and the brand is complete, the form is reachable at its public address right away. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"formular_anlegen_v1_forms_post","security":[{"ApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}":{"get":{"summary":"Retrieve a form","operationId":"formular_v1_forms__form_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete a form","description":"Deletes the form with all its responses, attachments and images. This cannot be undone. To stop accepting responses, close the form instead.","operationId":"formular_loeschen_v1_forms__form_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormDeleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}/responses":{"get":{"summary":"List responses of a form","operationId":"antworten_v1_forms__form_id__responses_get","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormResponseList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}/responses/{response_id}":{"get":{"summary":"Retrieve a response","operationId":"antwort_v1_forms__form_id__responses__response_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}},{"name":"response_id","in":"path","required":true,"schema":{"type":"integer","title":"Response Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shops":{"get":{"summary":"List your shops","operationId":"shops_v1_shops_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a shop","description":"Creates an empty shop. Products, prices and shipping follow with a task for the shop (`POST /v1/shops/{id}/tasks`). The plan's limit on shops applies.","operationId":"laden_anlegen_v1_shops_post","security":[{"ApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/orders":{"get":{"summary":"List orders across your shops","operationId":"bestellungen_v1_orders_get","security":[{"ApiKey":[]}],"parameters":[{"name":"shop_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Only orders of this shop.","title":"Shop Id"},"description":"Only orders of this shop."},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by order status.","title":"Status"},"description":"Filter by order status."},{"name":"payment_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by payment status, e.g. paid.","title":"Payment Status"},"description":"Filter by payment status, e.g. paid."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/orders/{order_id}":{"get":{"summary":"Retrieve an order","operationId":"bestellung_v1_orders__order_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"integer","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites":{"get":{"summary":"List your WordPress sites","description":"The WordPress sites KENJTEC hosts for this account, newest first. Read-only: this is what KENJTEC knows about each installation — posts, pages and plugins live in WordPress itself. Websites built with the WebSiteBuilder are under `/v1/sites`.","operationId":"wordpress_sites_v1_wordpress_sites_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressSiteList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Design a WordPress site from a sentence (AI)","description":"WordPressBuilder designs a complete draft: pages, menu, theme, texts. It is a draft — the owner sets it up on the server in the cockpit. Needs a free WordPress place in the plan and uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"wordpress_entwerfen_v1_wordpress_sites_post","security":[{"ApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressSiteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressSiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites/{wordpress_site_id}":{"get":{"summary":"Retrieve a WordPress site","operationId":"wordpress_site_v1_wordpress_sites__wordpress_site_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressSiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks":{"get":{"summary":"List your webhook endpoints","operationId":"ziele_v1_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointList"}}}}},"security":[{"ApiKey":[]}]},"post":{"summary":"Create a webhook endpoint","operationId":"ziel_anlegen_v1_webhooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/webhooks/{endpoint_id}":{"delete":{"summary":"Delete a webhook endpoint","operationId":"ziel_loeschen_v1_webhooks__endpoint_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"integer","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__public_v1__Deleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sites":{"get":{"summary":"List your websites","operationId":"sites_v1_sites_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a website from a sentence (AI)","description":"Builds a complete draft from your brief with the AI and uses the account's AI quota. The site stays a draft until you publish it. Takes 20–60 seconds; send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"site_anlegen_v1_sites_post","security":[{"ApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sites/{site_id}":{"get":{"summary":"Retrieve a website","operationId":"site_v1_sites__site_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete a website","description":"Deletes the website for good: draft, every version and its images. A published site goes offline. There is no trash. To take a site offline without losing it, use `POST /v1/sites/{id}/unpublish`.","operationId":"website_loeschen_v1_sites__site_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteDeleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sites/{site_id}/edit":{"post":{"summary":"Change a website by instruction (AI)","description":"The AI changes one page of the draft as instructed and uses the account's AI quota. Nothing goes online until you publish.","operationId":"site_aendern_v1_sites__site_id__edit_post","security":[{"ApiKey":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sites/{site_id}/publish":{"post":{"summary":"Publish the draft","description":"Puts the current draft online. Requires a running subscription and a complete brand (name, address, email or phone) — the same rule as in the editor.","operationId":"site_veroeffentlichen_v1_sites__site_id__publish_post","security":[{"ApiKey":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SitePublish"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sites/{site_id}/unpublish":{"post":{"summary":"Take the website offline","description":"Takes the site offline without losing anything. Publishing again restores the last published version.","operationId":"site_abschalten_v1_sites__site_id__unpublish_post","security":[{"ApiKey":[]}],"parameters":[{"name":"site_id","in":"path","required":true,"schema":{"type":"integer","title":"Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains":{"get":{"summary":"List your domains with a DNS zone at KENJTEC","operationId":"domains_v1_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainList"}}}}},"security":[{"ApiKey":[]}]},"post":{"summary":"Add a domain you own elsewhere","description":"Brings a domain bought elsewhere into DomainStudio. The answer lists the name servers to set at the current registrar; the zone becomes active once they point to KENJTEC. Buying domains is not possible here.","operationId":"domain_aufnehmen_v1_domains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAdd"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/domains/{domain_id}/dns_records":{"get":{"summary":"List the DNS records of a domain","operationId":"dns_liste_v1_domains__domain_id__dns_records_get","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecordList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a DNS record","operationId":"dns_anlegen_v1_domains__domain_id__dns_records_post","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecordIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/dns_records/{record_id}":{"patch":{"summary":"Replace a DNS record","operationId":"dns_aendern_v1_domains__domain_id__dns_records__record_id__patch","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}},{"name":"record_id","in":"path","required":true,"schema":{"type":"string","title":"Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecordIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecord"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete a DNS record","operationId":"dns_loeschen_v1_domains__domain_id__dns_records__record_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}},{"name":"record_id","in":"path","required":true,"schema":{"type":"string","title":"Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsRecordDeleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customers":{"get":{"summary":"List your customers","operationId":"kunden_v1_customers_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a customer","operationId":"kunde_anlegen_v1_customers_post","security":[{"ApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices":{"get":{"summary":"List invoices and quotes","operationId":"belege_v1_invoices_get","security":[{"ApiKey":[]}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["invoice","quote"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create a draft invoice or quote","description":"A draft has no number yet; it gets one when you issue it. Totals are calculated by KENJTEC.","operationId":"beleg_anlegen_v1_invoices_post","security":[{"ApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}":{"get":{"summary":"Retrieve an invoice or quote","operationId":"beleg_v1_invoices__invoice_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/issue":{"post":{"summary":"Issue a draft","description":"Assigns the next gapless number and freezes the document. An issued invoice can only be corrected by cancelling it — never edited or deleted.","operationId":"beleg_ausstellen_v1_invoices__invoice_id__issue_post","security":[{"ApiKey":[]}],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/cancel":{"post":{"summary":"Cancel an issued invoice","description":"Creates a cancellation invoice with its own number. Nothing is deleted. Returns the cancellation invoice.","operationId":"beleg_stornieren_v1_invoices__invoice_id__cancel_post","security":[{"ApiKey":[]}],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/media":{"get":{"summary":"List your media (MediaStudio)","operationId":"medien_v1_media_get","security":[{"ApiKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Return items older than this id (the last id you have).","title":"Starting After"},"description":"Return items older than this id (the last id you have)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/media/uploads":{"post":{"summary":"Step 1: get an upload address","description":"Then PUT the bytes to `upload_url` with the given headers, and call `POST /v1/media/{media_id}/confirm`. Until confirmed and checked, the file is not public.","operationId":"hochladen_v1_media_uploads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/media/{media_id}/confirm":{"post":{"summary":"Step 2: confirm the upload","description":"Checks what arrived (type, size, content check) and makes the file public. A file that fails the content check is refused with 422.","operationId":"bestaetigen_v1_media__media_id__confirm_post","security":[{"ApiKey":[]}],"parameters":[{"name":"media_id","in":"path","required":true,"schema":{"type":"integer","title":"Media Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands":{"get":{"summary":"List your brands (BrandStudio)","operationId":"marken_v1_brands_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandList"}}}}},"security":[{"ApiKey":[]}]},"post":{"summary":"Create a brand","description":"Creates another brand in BrandStudio — for an agency one per client. How many brands an account may have depends on its subscription.","operationId":"marke_anlegen_v1_brands_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/brands/{brand_id}":{"get":{"summary":"Retrieve a brand","operationId":"marke_v1_brands__brand_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Change a brand's name or company details","description":"Changes only what you send; everything else stays. Company details appear in the imprint of every work of the brand, and WordPress sites that follow the brand are updated.","operationId":"marke_aendern_v1_brands__brand_id__patch","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/social_posts":{"get":{"summary":"List your social posts","description":"The posts in SocialStudio, newest first — with their text, reel script, date and campaign.","operationId":"beitraege_v1_social_posts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostList"}}}}},"security":[{"ApiKey":[]}]},"post":{"summary":"Create a social post draft","description":"Stores a post as a draft in SocialStudio, optionally with a reel script. Nothing is posted: images, reel and channel versions have their own routes; the account owner shares the post.","operationId":"beitrag_anlegen_v1_social_posts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/shops/{shop_id}/tasks":{"post":{"summary":"Hand a task to the shop's assistant (AI)","description":"Prices, discounts, stock, hiding or showing products, orders. The shop's assistant checks the task against the real stock and drafts steps. Nothing changes yet: the proposal waits in the shop for the owner's approval. Uses the account's AI quota.","operationId":"laden_auftrag_v1_shops__shop_id__tasks_post","security":[{"ApiKey":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"integer","title":"Shop Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopTaskCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopTaskObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/invoices/{invoice_id}/send":{"post":{"summary":"Send an issued invoice by email","description":"Emails the issued document as a PDF (and as an e-invoice where possible) to the customer. Only issued documents can be sent. Without a body, address, subject and text go out as Invoice suggests them.","operationId":"beleg_versenden_v1_invoices__invoice_id__send_post","security":[{"ApiKey":[]}],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"integer","title":"Invoice Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InvoiceSend"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/address_plan":{"get":{"summary":"Read the address plan","description":"The account address, every domain and subdomain with what is shown at its root, and the tree of all works with their paths. Ids for the write routes come from here.","operationId":"adressplan_v1_address_plan_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressPlanObject"}}}}},"security":[{"ApiKey":[]}]}},"/v1/address_plan/path_check":{"get":{"summary":"Check whether a path is free","description":"Checks a path under the address of its brand for a form or shop — against reserved names, other shops, forms and pages. Call it before setting a path.","operationId":"pfad_pruefen_v1_address_plan_path_check_get","security":[{"ApiKey":[]}],"parameters":[{"name":"kind","in":"query","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer","title":"Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathCheckObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/address_plan/paths":{"put":{"summary":"Set the path of a form or shop","description":"Puts a form (alias instead of /f/<slug>) or a shop at a path under the address of its brand. The old path redirects. For a form, path null removes the alias.","operationId":"pfad_setzen_v1_address_plan_paths_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressChangeObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/address_plan/front":{"put":{"summary":"Choose what a domain shows","description":"Decides which work (website, form, shop) is shown at the root of a managed domain (root and www together) or of one connected hostname. This changes what visitors of the domain see.","operationId":"start_waehlen_v1_address_plan_front_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontSet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressChangeObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/address_plan/subdomains":{"post":{"summary":"Create a subdomain for a work","description":"Creates a new subdomain under a managed domain that shows a work, e.g. shop.example.com for a shop.","operationId":"subdomain_anlegen_v1_address_plan_subdomains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubdomainCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressChangeObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/wordpress_sites/{wordpress_site_id}/tasks":{"post":{"summary":"Hand a task to the WordPress operator (AI)","description":"Plugins, theme, posts, pages, menus, settings, updates, WooCommerce. The operator reads the site and drafts a plan. Nothing changes yet: the plan waits in the WordPress cockpit for the owner's confirmation. Uses the account's AI quota.","operationId":"wordpress_auftrag_v1_wordpress_sites__wordpress_site_id__tasks_post","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressTaskCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressTaskObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/{brand_id}/logo":{"post":{"summary":"Design a logo for a brand (AI)","description":"BrandStudio designs several logo drafts from your description. The first draft is set as the brand's logo and replaces an existing one; all drafts are returned. Uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"logo_entwerfen_v1_brands__brand_id__logo_post","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandLogoCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandLogoObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Set a brand's logo","description":"Sets the given SVG as the brand's logo — for example another draft from the logo design. The SVG passes the same filter as every logo in BrandStudio. Replaces the existing logo.","operationId":"logo_setzen_v1_brands__brand_id__logo_put","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandLogoSet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/media/generations":{"post":{"summary":"Generate an image (AI)","description":"Generates an image from your description and stores it in MediaStudio, checked like every uploaded file. Uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"bild_erzeugen_v1_media_generations_post","security":[{"ApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaGenerationObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}/edit":{"post":{"summary":"Change a form by instruction (AI)","description":"The FormBuilder changes an existing form as you describe and saves it. Uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"formular_aendern_v1_forms__form_id__edit_post","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}/open":{"post":{"summary":"Open a form","description":"An open form accepts responses at its public address. Opening is a publication and needs a complete brand.","operationId":"formular_oeffnen_v1_forms__form_id__open_post","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/forms/{form_id}/close":{"post":{"summary":"Close a form","description":"A closed form accepts no more responses; the existing ones stay.","operationId":"formular_schliessen_v1_forms__form_id__close_post","security":[{"ApiKey":[]}],"parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"integer","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shops/{shop_id}/tasks/{task_id}/apply":{"post":{"summary":"Apply a shop task proposal","description":"Carries out the proposal from POST /v1/shops/{id}/tasks: prices, discounts, stock and visibility change in the real shop. Every step is checked again against the stock; a step that no longer fits is skipped and reported.","operationId":"laden_freigeben_v1_shops__shop_id__tasks__task_id__apply_post","security":[{"ApiKey":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"integer","title":"Shop Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopTaskResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shops/{shop_id}/tasks/{task_id}/reject":{"post":{"summary":"Reject a shop task proposal","description":"Discards the proposal. Nothing changes in the shop.","operationId":"laden_verwerfen_v1_shops__shop_id__tasks__task_id__reject_post","security":[{"ApiKey":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"integer","title":"Shop Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopTaskResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites/{wordpress_site_id}/tasks/{task_id}/run":{"post":{"summary":"Run a WordPress task plan","description":"Carries out the plan from POST /v1/wordpress_sites/{id}/tasks on the WordPress site (or its test copy, if the plan was made for it). It stops at the first failing step; what ran before stays done. Can take longer than a minute for plans with several steps.","operationId":"wordpress_ausfuehren_v1_wordpress_sites__wordpress_site_id__tasks__task_id__run_post","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressTaskResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites/{wordpress_site_id}/tasks/{task_id}/discard":{"post":{"summary":"Discard a WordPress task plan","description":"Puts the plan aside. Nothing changes on the site.","operationId":"wordpress_verwerfen_v1_wordpress_sites__wordpress_site_id__tasks__task_id__discard_post","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"integer","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressTaskResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/social_posts/{post_id}":{"get":{"summary":"Retrieve a social post","operationId":"beitrag_v1_social_posts__post_id__get","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Change a social post","description":"Changes title or text. Images, date and brand stay. Nothing is posted.","operationId":"beitrag_aendern_v1_social_posts__post_id__patch","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete a social post","description":"Deletes the post with its formats, reel and date. This cannot be undone.","operationId":"beitrag_loeschen_v1_social_posts__post_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostDeleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/social_posts/{post_id}/schedule":{"put":{"summary":"Schedule a social post","description":"Sets, moves or removes the post's date. The date appears in the SocialStudio calendar and in the BusinessCloud calendar; nothing is posted — the owner shares the post.","operationId":"beitrag_planen_v1_social_posts__post_id__schedule_put","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostSchedule"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialPostObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/{brand_id}/print/{kind}":{"get":{"summary":"Retrieve a print design","description":"The business card, letterhead, flyer or folder of a brand as PrintStudio holds it: template, colour scheme, every text, what is hidden and what the printer would cut.","operationId":"drucksache_v1_brands__brand_id__print__kind__get","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintDesign"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Change a print design","description":"Changes only what you send: template, colour scheme, texts, switches. A text longer than its limit is refused, never cut. Check `too_long` in the answer — it names what the printer would cut.","operationId":"drucksache_aendern_v1_brands__brand_id__print__kind__patch","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintDesignUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintDesign"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/{brand_id}/print/{kind}/draft":{"post":{"summary":"Design a print item from one sentence (AI)","description":"PrintStudio writes the texts in fitting length, picks template and colour scheme and saves. Replaces the current design of this print item. Uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops.","operationId":"drucksache_gestalten_v1_brands__brand_id__print__kind__draft_post","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintDesignDraft"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintDesign"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brands/{brand_id}/print/{kind}/pdf":{"get":{"summary":"Download a print design as PDF","description":"The print-ready PDF, drawn from the same scene as the preview in PrintStudio. `bleed` adds 3 mm bleed and crop marks (not for the letterhead); `cmyk` gives a PDF/X-4 in CMYK for the print shop.","operationId":"drucksache_pdf_v1_brands__brand_id__print__kind__pdf_get","security":[{"ApiKey":[]}],"parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"bleed","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Bleed"}},{"name":"cmyk","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cmyk"}}],"responses":{"200":{"description":"The PDF file.","content":{"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cloud/files":{"get":{"summary":"List a folder of your BusinessCloud","description":"Folders and files of one folder in the account's BusinessCloud, folders first. Without `path` the top level. The account must have BusinessCloud and have opened it once.","operationId":"cloud_dateien_v1_cloud_files_get","security":[{"ApiKey":[]}],"parameters":[{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudFileList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cloud/imports":{"post":{"summary":"Copy images from BusinessCloud into MediaStudio","description":"Copies images into MediaStudio; the files stay in BusinessCloud. They are PUBLICLY reachable afterwards and pass the same content check as every upload. Images only (JPEG, PNG, WebP, GIF).","operationId":"cloud_holen_v1_cloud_imports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudImport"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/cloud/exports":{"post":{"summary":"Move media from MediaStudio into BusinessCloud","description":"MOVES files into the account's BusinessCloud (folder MediaStudio): afterwards they exist only there and are no longer public. Files in use on a website, in a shop or as a logo stay in MediaStudio.","operationId":"cloud_auslagern_v1_cloud_exports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudExport"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudExportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/social_posts/{post_id}/reel":{"post":{"summary":"Render a post's reel","description":"Renders a short vertical video from the post's images, one line per tile. Takes up to half a minute and replaces an existing reel. The post needs at least one image. Nothing is posted.","operationId":"reel_rendern_v1_social_posts__post_id__reel_post","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialReelCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialReel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/social_posts/{post_id}/formats":{"post":{"summary":"Cut a post's images to network sizes","description":"Brings every image of the post into the sizes the networks want. A run replaces the pairs it computes and leaves the others. Uses no AI quota.","operationId":"formate_rechnen_v1_social_posts__post_id__formats_post","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialFormatsCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialFormats"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/social_posts/{post_id}/channels":{"post":{"summary":"Write a version of the post per channel (AI)","description":"SocialStudio cuts the post's text for every network in its length and tone. Replaces existing versions and uses the account's AI quota. Send an Idempotency-Key and retry with the same key if the connection drops. Nothing is posted.","operationId":"kanal_fassungen_v1_social_posts__post_id__channels_post","security":[{"ApiKey":[]}],"parameters":[{"name":"post_id","in":"path","required":true,"schema":{"type":"integer","title":"Post Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Send the same key to retry safely: you get the first result and pay once.","title":"Idempotency-Key"},"description":"Send the same key to retry safely: you get the first result and pay once."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialChannelVersions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/status":{"get":{"summary":"Check a domain's state","operationId":"domain_stand_v1_domains__domain_id__status_get","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}":{"delete":{"summary":"Remove a domain from KENJTEC","description":"Deletes the domain's DNS zone with ALL records; websites and mail at the domain stop answering. The domain itself stays the owner's. This cannot be undone.","operationId":"domain_entfernen_v1_domains__domain_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__public_v1_plattform__Deleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hostnames":{"post":{"summary":"Connect an address whose DNS stays elsewhere","description":"Connects a hostname to a work of the account. If its domain is not at KENJTEC, the owner must first set a TXT record (the error names it) and afterwards a CNAME to `cname_target`.","operationId":"hostname_verbinden_v1_hostnames_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostnameConnect"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostnameObject"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKey":[]}]}},"/v1/hostnames/{hostname_id}":{"delete":{"summary":"Disconnect an address","operationId":"hostname_loesen_v1_hostnames__hostname_id__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"hostname_id","in":"path","required":true,"schema":{"type":"integer","title":"Hostname Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__public_v1_plattform__Deleted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/redirect":{"put":{"summary":"Redirect a domain","description":"The domain and www lead to the target. Not possible while a website or WordPress sits on the domain.","operationId":"domain_umleiten_v1_domains__domain_id__redirect_put","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectSet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove a domain's redirect","operationId":"domain_umleitung_weg_v1_domains__domain_id__redirect_delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/email":{"put":{"summary":"Set up e-mail at a domain","description":"Sets a provider's MX, SPF and verification records (google, microsoft, icloud, zoho) and replaces earlier mail records KENJTEC set.","operationId":"domain_post_v1_domains__domain_id__email_put","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove a domain's e-mail records","operationId":"domain_post_weg_v1_domains__domain_id__email_delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/subdomains/{subdomain}":{"delete":{"summary":"Delete a subdomain","operationId":"subdomain_weg_v1_domains__domain_id__subdomains__subdomain__delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}},{"name":"subdomain","in":"path","required":true,"schema":{"type":"string","title":"Subdomain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/domains/{domain_id}/transfer":{"post":{"summary":"Start moving a domain to another registrar","description":"Unlocks a domain bought at KENJTEC; the registrar sends the transfer code to the owner. For endings whose code is shown once (.de) this is only possible in DomainStudio, with the account password.","operationId":"domain_umzug_v1_domains__domain_id__transfer_post","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Cancel a domain transfer","operationId":"domain_umzug_weg_v1_domains__domain_id__transfer_delete","security":[{"ApiKey":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites/{wordpress_site_id}/domain":{"put":{"summary":"Put a domain in front of a WordPress site","operationId":"wordpress_domain_binden_v1_wordpress_sites__wordpress_site_id__domain_put","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressDomainAttach"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Detach a WordPress site's domain","operationId":"wordpress_domain_loesen_v1_wordpress_sites__wordpress_site_id__domain_delete","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/wordpress_sites/{wordpress_site_id}/domain/primary":{"put":{"summary":"Make the domain a WordPress site's main address, or go back","operationId":"wordpress_domain_haupt_v1_wordpress_sites__wordpress_site_id__domain_primary_put","security":[{"ApiKey":[]}],"parameters":[{"name":"wordpress_site_id","in":"path","required":true,"schema":{"type":"integer","title":"Wordpress Site Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordPressDomainPrimary"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainAction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Account":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"account","title":"Object","default":"account"},"email":{"type":"string","title":"Email"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle","description":"The handle of the account's first brand"},"address":{"type":"string","title":"Address","description":"The public address of the account's first brand, e.g. https://example.kenjtec.ai"},"addresses":{"items":{"type":"string"},"type":"array","title":"Addresses","description":"Every brand has its own address — all of them, oldest brand first"},"key":{"$ref":"#/components/schemas/KeyInfo"}},"type":"object","required":["id","email","handle","address","key"],"title":"Account"},"Address":{"properties":{"line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line1"},"line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line2"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"State or province — required at checkout for deliveries to US, CA, AU, IN, BR and MX."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},"type":"object","required":["line1","line2","postal_code","city","country"],"title":"Address"},"AddressChangeObject":{"properties":{"object":{"type":"string","title":"Object","default":"address_change","examples":["address_change"]},"done":{"type":"boolean","title":"Done"},"detail":{"type":"string","title":"Detail","description":"What was changed — the sentence the address plan shows."}},"type":"object","required":["done","detail"],"title":"AddressChangeObject"},"AddressPlanObject":{"properties":{"object":{"type":"string","title":"Object","default":"address_plan","examples":["address_plan"]},"url":{"type":"string","title":"Url","description":"The account's own address."},"account_front":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Account Front","description":"The work shown at the root of the account address, if any."},"hosts":{"items":{"type":"object"},"type":"array","title":"Hosts","description":"The account address, every managed domain, subdomain and connected hostname — each with what is shown at its root (front). domain_id and custom_id are the ids the write routes take."},"works":{"items":{"type":"object"},"type":"array","title":"Works","description":"Every work as a tree: websites with their pages, forms and shops with their path. kind and id are what the write routes take."},"limits":{"type":"object","title":"Limits","description":"How many domains, hostnames and subdomains the plan allows and uses."}},"type":"object","required":["url","account_front","hosts","works","limits"],"title":"AddressPlanObject"},"BrandCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name","description":"The brand's name."}},"type":"object","required":["name"],"title":"BrandCreate"},"BrandList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/BrandObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"BrandList"},"BrandLogoCreate":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":3,"title":"Description","description":"What the logo should look like."}},"type":"object","required":["description"],"title":"BrandLogoCreate"},"BrandLogoDraft":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"svg":{"type":"string","title":"Svg"}},"type":"object","required":["name","description","svg"],"title":"BrandLogoDraft"},"BrandLogoObject":{"properties":{"object":{"type":"string","title":"Object","default":"brand_logo","examples":["brand_logo"]},"brand":{"$ref":"#/components/schemas/BrandObject","description":"The brand with the first draft set as its logo."},"drafts":{"items":{"$ref":"#/components/schemas/BrandLogoDraft"},"type":"array","title":"Drafts","description":"All drafts, the first one is now the logo. Set another one with PUT /v1/brands/{id}/logo."}},"type":"object","required":["brand","drafts"],"title":"BrandLogoObject"},"BrandLogoSet":{"properties":{"svg":{"type":"string","maxLength":40000,"minLength":20,"title":"Svg","description":"The logo as SVG text."}},"type":"object","required":["svg"],"title":"BrandLogoSet"},"BrandObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"brand","title":"Object","default":"brand"},"name":{"type":"string","title":"Name"},"logo":{"type":"object","title":"Logo","description":"The uploaded logo (original and formats) and the drawn logo as SVG."},"colors":{"additionalProperties":{"type":"string"},"type":"object","title":"Colors","description":"primary, accent, text — for print."},"design":{"type":"object","title":"Design","description":"The full design tokens as the works use them."},"fonts":{"type":"object","title":"Fonts"},"company":{"type":"object","title":"Company","description":"name, country, address, phone, email, website, represented_by — own entries; empty means inherited from the invoice sender."},"social":{"items":{"type":"object"},"type":"array","title":"Social"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","logo","colors","design","fonts","company","social","updated_at"],"title":"BrandObject"},"BrandUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name","description":"A new name for the brand."},"company_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Company Name","description":"Company name as it appears in the imprint."},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address","description":"Street, postal code and city."},"phone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"website":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Website"},"country":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Country","description":"Country code, e.g. DE."},"represented_by":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Represented By","description":"Authorised representative(s)."}},"type":"object","title":"BrandUpdate"},"CloudEntry":{"properties":{"name":{"type":"string","title":"Name"},"path":{"type":"string","title":"Path"},"folder":{"type":"boolean","title":"Folder"},"size":{"type":"integer","title":"Size"},"type":{"type":"string","title":"Type","description":"The MIME type; empty for folders."},"importable":{"type":"boolean","title":"Importable","description":"True for images MediaStudio can take in (JPEG, PNG, WebP, GIF)."}},"type":"object","required":["name","path","folder","size","type","importable"],"title":"CloudEntry"},"CloudExport":{"properties":{"media_ids":{"items":{"type":"integer"},"type":"array","maxItems":25,"minItems":1,"title":"Media Ids","description":"Media ids from `GET /v1/media`."}},"type":"object","required":["media_ids"],"title":"CloudExport"},"CloudExportResult":{"properties":{"object":{"type":"string","title":"Object","default":"cloud_export","examples":["cloud_export"]},"moved":{"items":{"type":"object"},"type":"array","title":"Moved","description":"media_id, name and the path in BusinessCloud for each moved file."},"kept":{"items":{"type":"object"},"type":"array","title":"Kept","description":"media_id, name and reason for each file that stayed in MediaStudio."}},"type":"object","required":["moved","kept"],"title":"CloudExportResult"},"CloudFileList":{"properties":{"object":{"type":"string","title":"Object","default":"list","examples":["list"]},"path":{"type":"string","title":"Path"},"data":{"items":{"$ref":"#/components/schemas/CloudEntry"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["path","data","has_more"],"title":"CloudFileList"},"CloudImport":{"properties":{"paths":{"items":{"type":"string"},"type":"array","maxItems":25,"minItems":1,"title":"Paths","description":"File paths as `GET /v1/cloud/files` returns them."}},"type":"object","required":["paths"],"title":"CloudImport"},"CloudImportResult":{"properties":{"object":{"type":"string","title":"Object","default":"cloud_import","examples":["cloud_import"]},"imported":{"items":{"type":"object"},"type":"array","title":"Imported","description":"media_id, name and already_there for each file now in MediaStudio."},"skipped":{"items":{"type":"object"},"type":"array","title":"Skipped","description":"path and reason for each file that was not taken in."}},"type":"object","required":["imported","skipped"],"title":"CloudImportResult"},"Customer":{"properties":{"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"address":{"$ref":"#/components/schemas/Address"}},"type":"object","required":["email","name","address"],"title":"Customer"},"CustomerAddress":{"properties":{"street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Street"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"type":"string","title":"Country","description":"ISO 3166-1 alpha-2","default":"DE"}},"type":"object","title":"CustomerAddress"},"CustomerIn":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Phone"},"street":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Street"},"postal_code":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Postal Code"},"city":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"City"},"country":{"type":"string","maxLength":2,"minLength":2,"title":"Country","description":"ISO 3166-1 alpha-2","default":"DE"},"vat_id":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Vat Id"},"language":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Language"},"payment_terms_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Payment Terms Days"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"if_same_name":{"type":"string","enum":["reuse","create"],"title":"If Same Name","description":"A customer with this name exists: reuse it (default) or create a second one.","default":"reuse"}},"type":"object","required":["name"],"title":"CustomerIn"},"CustomerList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/CustomerObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"CustomerList"},"CustomerObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"customer","title":"Object","default":"customer"},"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"$ref":"#/components/schemas/CustomerAddress"},"vat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Id"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"payment_terms_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Payment Terms Days"}},"type":"object","required":["id","name","email","phone","address","vat_id","language","payment_terms_days"],"title":"CustomerObject"},"Delivery":{"properties":{"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"pickup":{"type":"boolean","title":"Pickup"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"},"tracking_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Number"},"tracking_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Url"}},"type":"object","required":["method","pickup","address","carrier","tracking_number","tracking_url"],"title":"Delivery"},"DnsRecord":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","const":"dns_record","title":"Object","default":"dns_record"},"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"content":{"type":"string","title":"Content"},"ttl":{"type":"integer","title":"Ttl","description":"1 = automatic"},"proxied":{"type":"boolean","title":"Proxied"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"},"managed":{"type":"boolean","title":"Managed","description":"Set by KENJTEC (website, mail, redirect). The API does not change these."}},"type":"object","required":["id","type","name","content","ttl","proxied","priority","managed"],"title":"DnsRecord"},"DnsRecordDeleted":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","const":"dns_record","title":"Object","default":"dns_record"},"deleted":{"type":"boolean","title":"Deleted","default":true}},"type":"object","required":["id"],"title":"DnsRecordDeleted"},"DnsRecordIn":{"properties":{"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS"],"title":"Type"},"name":{"type":"string","maxLength":253,"title":"Name","description":"@ for the domain itself, or a sub-name like www.","default":"@"},"content":{"type":"string","maxLength":4096,"minLength":1,"title":"Content"},"ttl":{"type":"integer","maximum":86400.0,"minimum":1.0,"title":"Ttl","description":"1 = automatic, otherwise 60–86400 seconds.","default":1},"proxied":{"type":"boolean","title":"Proxied","default":false},"priority":{"anyOf":[{"type":"integer","maximum":65535.0,"minimum":0.0},{"type":"null"}],"title":"Priority","description":"Required for MX."}},"type":"object","required":["type","content"],"title":"DnsRecordIn"},"DnsRecordList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/DnsRecord"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"DnsRecordList"},"DomainAction":{"properties":{"object":{"type":"string","title":"Object"},"domain":{"type":"string","title":"Domain"},"done":{"type":"boolean","title":"Done","default":true},"detail":{"type":"string","title":"Detail","description":"What happened, in the account's language."}},"type":"object","required":["object","domain","detail"],"title":"DomainAction"},"DomainAdd":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":4,"title":"Domain","description":"The domain name, e.g. my-company.com."}},"type":"object","required":["domain"],"title":"DomainAdd"},"DomainList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/DomainObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"DomainList"},"DomainObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"domain","title":"Object","default":"domain"},"domain":{"type":"string","title":"Domain"},"source":{"type":"string","title":"Source","description":"registered (bought at KENJTEC) or external (brought along)"},"zone_status":{"type":"string","title":"Zone Status","description":"active once the name servers point to us"},"nameservers":{"items":{"type":"string"},"type":"array","title":"Nameservers"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","domain","source","zone_status","nameservers","created_at"],"title":"DomainObject"},"DomainStatus":{"properties":{"object":{"type":"string","title":"Object","default":"domain_status","examples":["domain_status"]},"id":{"type":"integer","title":"Id"},"domain":{"type":"string","title":"Domain"},"zone_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone Status","description":"active once the name servers point to KENJTEC."},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"nameservers":{"items":{"type":"string"},"type":"array","title":"Nameservers"},"nameservers_confirmed":{"type":"boolean","title":"Nameservers Confirmed"},"redirect":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Redirect","description":"The domain's redirect, if it has one."}},"type":"object","required":["id","domain","zone_status","status","nameservers","nameservers_confirmed","redirect"],"title":"DomainStatus"},"EmailSet":{"properties":{"provider":{"type":"string","maxLength":16,"title":"Provider","description":"google, microsoft, icloud or zoho."},"mx_host":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Mx Host","description":"Microsoft only: the MX host from its admin center."},"verification":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Verification","description":"The provider's verification value, optional."}},"type":"object","required":["provider"],"title":"EmailSet"},"FormCreate":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":5,"title":"Description","description":"What the form should ask, in plain words: 'a sign-up form for the summer party with name, email and number of guests'."}},"type":"object","required":["description"],"title":"FormCreate"},"FormDeleted":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"form","examples":["form"]},"deleted":{"type":"boolean","title":"Deleted"}},"type":"object","required":["id","deleted"],"title":"FormDeleted"},"FormEdit":{"properties":{"instruction":{"type":"string","maxLength":1000,"minLength":3,"title":"Instruction","description":"What to change, in plain words: 'make the phone number required', 'add a question about allergies'."}},"type":"object","required":["instruction"],"title":"FormEdit"},"FormField":{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"type":{"type":"string","title":"Type","description":"text, textarea, email, number, choice, multiple_choice, scale, date, yes_no, phone, url, time, rating, file, consent, order_item, signature"},"label":{"type":"string","title":"Label"},"required":{"type":"boolean","title":"Required"},"options":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Options"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"},"price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price","description":"Order items only: the price as the form shows it, e.g. \"5.50 €\" (display text)."}},"type":"object","required":["key","type","label","required"],"title":"FormField"},"FormList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/FormObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"FormList"},"FormObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"form","title":"Object","default":"form"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"slug":{"type":"string","title":"Slug"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"url":{"type":"string","title":"Url"},"open":{"type":"boolean","title":"Open"},"currency":{"type":"string","title":"Currency"},"fields":{"items":{"$ref":"#/components/schemas/FormField"},"type":"array","title":"Fields"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"response_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Count"}},"type":"object","required":["id","title","description","slug","path","url","open","currency","fields","created_at"],"title":"FormObject"},"FormResponse":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"form_response","title":"Object","default":"form_response"},"form_id":{"type":"integer","title":"Form Id"},"answers":{"type":"object","title":"Answers","description":"Field key → answer. Files appear as {\"file_name\": …}, signatures as {\"signature\": \"drawn\"|\"typed\"}."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","form_id","answers","created_at","updated_at"],"title":"FormResponse"},"FormResponseList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/FormResponse"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"FormResponseList"},"FrontSet":{"properties":{"where":{"type":"string","pattern":"^(managed|custom)$","title":"Where","description":"managed: a managed domain (root and www). custom: one connected hostname."},"domain_id":{"type":"integer","minimum":1.0,"title":"Domain Id","description":"domain_id (managed) or custom_id (custom) from the address plan's hosts."},"target_kind":{"type":"string","pattern":"^(site|form|shop)$","title":"Target Kind","description":"What should be shown: site, form or shop."},"target_id":{"type":"integer","minimum":1.0,"title":"Target Id","description":"The work's id from the address plan."},"replace":{"type":"boolean","title":"Replace","description":"Only for managed: replace foreign DNS records at the root and www. Only true if the owner said so.","default":false}},"type":"object","required":["where","domain_id","target_kind","target_id"],"title":"FrontSet"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HostnameConnect":{"properties":{"hostname":{"type":"string","maxLength":253,"minLength":4,"title":"Hostname","description":"The address, e.g. www.my-company.com."},"target_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Kind","description":"website, shop or form. Without it the account's start page."},"target_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Target Id"}},"type":"object","required":["hostname"],"title":"HostnameConnect"},"HostnameObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"hostname","examples":["hostname"]},"hostname":{"type":"string","title":"Hostname"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"cname_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cname Target","description":"Where the hostname must point at its DNS provider (CNAME)."}},"type":"object","required":["id","hostname","status","cname_target"],"title":"HostnameObject"},"ImageCreate":{"properties":{"prompt":{"type":"string","maxLength":2000,"minLength":3,"title":"Prompt","description":"What the image should show, with mood and style."},"format":{"anyOf":[{"type":"string","pattern":"^(square|portrait|story|landscape|wide|pin)$"},{"type":"null"}],"title":"Format","description":"square (1:1), portrait (4:5), story (9:16), landscape (link preview), wide (16:9) or pin (2:3)."}},"type":"object","required":["prompt"],"title":"ImageCreate"},"InvoiceIn":{"properties":{"kind":{"type":"string","enum":["invoice","quote"],"title":"Kind","default":"invoice"},"customer_id":{"type":"integer","title":"Customer Id"},"lines":{"items":{"$ref":"#/components/schemas/InvoiceLine"},"type":"array","maxItems":200,"minItems":1,"title":"Lines"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Za-z]{3}$"},{"type":"null"}],"title":"Currency","description":"Default: the sender's currency."},"issue_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issue Date"},"service_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Service Date","description":"Required to issue an invoice."},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"language":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Language"},"tax_exempt":{"type":"boolean","title":"Tax Exempt","description":"Show no tax on this document.","default":false},"tax_note":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Tax Note","description":"Free note, e.g. a reverse-charge sentence."},"intro":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Intro"},"outro":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Outro"}},"type":"object","required":["customer_id","lines"],"title":"InvoiceIn"},"InvoiceLine":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":1,"title":"Description"},"quantity":{"type":"number","maximum":1000000.0,"exclusiveMinimum":0.0,"title":"Quantity","description":"Up to three decimals, e.g. 1.5 hours.","default":1},"unit":{"type":"string","maxLength":32,"title":"Unit","default":"pc"},"unit_price":{"type":"integer","maximum":1000000000.0,"minimum":-1000000000.0,"title":"Unit Price","description":"Net price per unit in the smallest currency unit (cents), at most 10,000,000.00."},"tax_rate":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Tax Rate","description":"Percent, one decimal, e.g. 19 or 7.7.","default":0}},"type":"object","required":["description","unit_price"],"title":"InvoiceLine"},"InvoiceLineOut":{"properties":{"description":{"type":"string","title":"Description"},"quantity":{"type":"number","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"unit_price":{"type":"integer","title":"Unit Price"},"tax_rate":{"type":"number","title":"Tax Rate"},"net":{"type":"integer","title":"Net"}},"type":"object","required":["description","quantity","unit","unit_price","tax_rate","net"],"title":"InvoiceLineOut"},"InvoiceList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/InvoiceObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"InvoiceList"},"InvoiceObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"invoice","title":"Object","default":"invoice"},"kind":{"type":"string","title":"Kind","description":"invoice or quote"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number","description":"Assigned when issued — gapless, never reused."},"status":{"type":"string","title":"Status","description":"draft, issued, paid, canceled"},"customer_id":{"type":"integer","title":"Customer Id"},"customer_name":{"type":"string","title":"Customer Name"},"currency":{"type":"string","title":"Currency"},"issue_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Date"},"service_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Date"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"net":{"type":"integer","title":"Net"},"tax":{"type":"integer","title":"Tax"},"total":{"type":"integer","title":"Total"},"open_amount":{"type":"integer","title":"Open Amount"},"cancels_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancels Id","description":"Set on a cancellation invoice: the invoice it cancels."},"lines":{"items":{"$ref":"#/components/schemas/InvoiceLineOut"},"type":"array","title":"Lines"}},"type":"object","required":["id","kind","number","status","customer_id","customer_name","currency","issue_date","service_date","due_date","net","tax","total","open_amount","cancels_id","lines"],"title":"InvoiceObject"},"InvoiceSend":{"properties":{"to":{"anyOf":[{"type":"string","maxLength":255,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},{"type":"null"}],"title":"To","description":"Another recipient address. Default: the customer's email on file."},"subject":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Subject","description":"Another subject line."},"message":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}],"title":"Message","description":"Another email text, complete."}},"type":"object","title":"InvoiceSend"},"KeyInfo":{"properties":{"name":{"type":"string","title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","required":["name","scopes"],"title":"KeyInfo"},"MediaGenerationObject":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"object":{"type":"string","title":"Object","default":"media_generation","examples":["media_generation"]},"prompt":{"type":"string","title":"Prompt"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"status":{"type":"string","title":"Status","description":"completed, running or failed."},"media":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Media","description":"The generated file in MediaStudio, in the form of GET /v1/media."}},"type":"object","required":["id","prompt","format","status","media"],"title":"MediaGenerationObject"},"MediaList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/MediaObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"MediaList"},"MediaObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"media","title":"Object","default":"media"},"type":{"type":"string","title":"Type","description":"image, document or video"},"mime":{"type":"string","title":"Mime"},"size":{"type":"integer","title":"Size"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"file_name":{"type":"string","title":"File Name"},"alt_text":{"type":"string","title":"Alt Text"},"url":{"type":"string","title":"Url","description":"The public address on cdn.kenjtec.com."},"checked":{"type":"boolean","title":"Checked","description":"Passed the automatic content check."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","type","mime","size","width","height","file_name","alt_text","url","checked","created_at"],"title":"MediaObject"},"Order":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"order","title":"Object","default":"order"},"shop_id":{"type":"integer","title":"Shop Id"},"number":{"type":"integer","title":"Number"},"status":{"type":"string","title":"Status","description":"pending, confirmed, fulfilled, completed, canceled, refunded"},"payment_status":{"type":"string","title":"Payment Status","description":"unpaid, authorized, paid, refunded, partially_refunded, failed, disputed, canceled"},"currency":{"type":"string","title":"Currency"},"subtotal":{"type":"integer","title":"Subtotal"},"discount":{"type":"integer","title":"Discount"},"discount_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discount Code"},"shipping":{"type":"integer","title":"Shipping"},"tax":{"type":"integer","title":"Tax","description":"All tax of the order, including the tax on shipping."},"shipping_tax":{"type":"integer","title":"Shipping Tax","description":"The part of `tax` charged on shipping — shipping follows the rate of the goods it carries.","default":0},"total":{"type":"integer","title":"Total"},"refunded":{"type":"integer","title":"Refunded"},"customer":{"anyOf":[{"$ref":"#/components/schemas/Customer"},{"type":"null"}]},"delivery":{"$ref":"#/components/schemas/Delivery"},"items":{"items":{"$ref":"#/components/schemas/OrderItem"},"type":"array","title":"Items"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","shop_id","number","status","payment_status","currency","subtotal","discount","discount_code","shipping","tax","total","refunded","customer","delivery","items","notes","locale","created_at","updated_at"],"title":"Order"},"OrderItem":{"properties":{"name":{"type":"string","title":"Name"},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"quantity":{"type":"integer","title":"Quantity"},"unit_price":{"type":"integer","title":"Unit Price"},"tax":{"type":"integer","title":"Tax"},"tax_rate_bp":{"type":"integer","title":"Tax Rate Bp","description":"Tax rate in basis points: 1900 = 19 %"},"tax_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Country","description":"Country the line was taxed for (ISO 3166-1 alpha-2): the delivery country for shipped goods, the buyer's country for digital goods; empty for pickup and for orders placed before 25 September 2026."}},"type":"object","required":["name","sku","quantity","unit_price","tax","tax_rate_bp"],"title":"OrderItem"},"OrderList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/Order"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"OrderList"},"PathCheckObject":{"properties":{"object":{"type":"string","title":"Object","default":"path_check","examples":["path_check"]},"available":{"type":"boolean","title":"Available"},"detail":{"type":"string","title":"Detail","description":"Today → future, or what is in the way — the sentence the address plan shows."}},"type":"object","required":["available","detail"],"title":"PathCheckObject"},"PathSet":{"properties":{"kind":{"type":"string","pattern":"^(form|shop)$","title":"Kind","description":"form or shop."},"id":{"type":"integer","minimum":1.0,"title":"Id","description":"The form's or shop's id from the address plan."},"path":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Path","description":"The new path without slashes, e.g. 'signup' — or null to remove a form's alias. A shop always needs a path."}},"type":"object","required":["kind","id","path"],"title":"PathSet"},"PrintDesign":{"properties":{"object":{"type":"string","title":"Object","default":"print_design","examples":["print_design"]},"brand_id":{"type":"integer","title":"Brand Id"},"kind":{"type":"string","title":"Kind","description":"business_card, letterhead, flyer or folder."},"saved":{"type":"boolean","title":"Saved","description":"False while this print item still shows the brand's default design."},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template","description":"The id of the chosen template."},"templates":{"items":{"$ref":"#/components/schemas/PrintTemplate"},"type":"array","title":"Templates","description":"The templates this kind offers."},"scheme":{"type":"string","title":"Scheme","description":"light, accent or dark — three schemes from the brand's colours."},"fields":{"additionalProperties":{"type":"string"},"type":"object","title":"Fields","description":"Every text as it prints: the design's own text, else the brand's."},"own_fields":{"items":{"type":"string"},"type":"array","title":"Own Fields","description":"The fields this design sets itself. All others follow the brand."},"limits":{"additionalProperties":{"type":"integer"},"type":"object","title":"Limits","description":"The most characters each field takes."},"show":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Show","description":"Parts switched on or off explicitly."},"logo_size":{"type":"string","title":"Logo Size"},"has_logo":{"type":"boolean","title":"Has Logo"},"too_long":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object","title":"Too Long","description":"Fields the printer would cut with an ellipsis, and how many characters fit there."},"back":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Back","description":"Business card only: logo, name, qr, blank or none."},"window_line":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Window Line","description":"Letterhead only: sender line above the address window."},"numbers_to_check":{"items":{"type":"string"},"type":"array","title":"Numbers To Check","description":"After a draft from one sentence: numbers in the text that are neither in the sentence nor in the brand."}},"type":"object","required":["brand_id","kind","saved","template","templates","scheme","fields","own_fields","limits","show","logo_size","has_logo","too_long"],"title":"PrintDesign"},"PrintDesignDraft":{"properties":{"brief":{"type":"string","maxLength":600,"minLength":3,"title":"Brief","description":"What the print item is about, with every fact that should be on it."}},"type":"object","required":["brief"],"title":"PrintDesignDraft"},"PrintDesignUpdate":{"properties":{"template":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Template","description":"A template id from `templates`."},"scheme":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Scheme","description":"light, accent or dark."},"fields":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Fields","description":"Texts by field name. An empty string makes the field follow the brand again."},"show":{"anyOf":[{"additionalProperties":{"type":"boolean"},"type":"object"},{"type":"null"}],"title":"Show","description":"Switch parts on or off, by name."},"show_default":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Show Default","description":"Parts that follow the template again — undoes an explicit on/off."},"logo_size":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Logo Size","description":"small, normal or large."},"back":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Back","description":"Business card only: logo, name, qr, blank or none."},"window_line":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Window Line","description":"Letterhead only."}},"type":"object","title":"PrintDesignUpdate"},"PrintTemplate":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"PrintTemplate"},"RedirectSet":{"properties":{"target_url":{"type":"string","maxLength":2000,"minLength":4,"title":"Target Url","description":"Where the domain should lead, e.g. https://new-company.com."},"permanent":{"type":"boolean","title":"Permanent","description":"true = 301, false = 302.","default":true},"keep_path":{"type":"boolean","title":"Keep Path","description":"true: /prices leads to target/prices.","default":true}},"type":"object","required":["target_url"],"title":"RedirectSet"},"ShopCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name","description":"The shop's name."},"tagline":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Tagline","description":"A line under the name, optional."},"currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Currency","description":"ISO currency code. Defaults to the account's currency."}},"type":"object","required":["name"],"title":"ShopCreate"},"ShopList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/ShopObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"ShopList"},"ShopObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"shop","title":"Object","default":"shop"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"url":{"type":"string","title":"Url"},"currency":{"type":"string","title":"Currency"},"status":{"type":"string","title":"Status"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","slug","path","url","currency","status","created_at"],"title":"ShopObject"},"ShopTaskCreate":{"properties":{"instruction":{"type":"string","maxLength":1000,"minLength":4,"title":"Instruction","description":"The task for the shop, concrete and complete: 'all candles 20 % off until Sunday'."}},"type":"object","required":["instruction"],"title":"ShopTaskCreate"},"ShopTaskObject":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"The proposal's id; null if the shop found no step for this task."},"object":{"type":"string","title":"Object","default":"shop_task","examples":["shop_task"]},"shop_id":{"type":"integer","title":"Shop Id"},"instruction":{"type":"string","title":"Instruction"},"status":{"type":"string","title":"Status","description":"'proposed': waits for the owner's approval in the shop. 'no_steps': nothing to do."},"steps":{"items":{"type":"string"},"type":"array","title":"Steps","description":"The proposed steps in plain words, checked against the shop's real stock."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"What the shop's assistant says about the task, if anything."},"review_path":{"type":"string","title":"Review Path","description":"Where the owner approves or rejects the proposal, relative to kenjtec.com."}},"type":"object","required":["id","shop_id","instruction","status","steps","note","review_path"],"title":"ShopTaskObject"},"ShopTaskResult":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"shop_task_result","examples":["shop_task_result"]},"shop_id":{"type":"integer","title":"Shop Id"},"status":{"type":"string","title":"Status","description":"'applied' or 'rejected'."},"done":{"items":{"type":"string"},"type":"array","title":"Done","description":"The steps that were carried out, in plain words."},"skipped":{"items":{"type":"string"},"type":"array","title":"Skipped","description":"Steps that no longer fit the shop's real stock and were skipped."}},"type":"object","required":["id","shop_id","status","done","skipped"],"title":"ShopTaskResult"},"SiteCreate":{"properties":{"brief":{"type":"string","maxLength":2000,"minLength":10,"title":"Brief","description":"One or a few sentences: who you are, what the site is for."},"brand_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Brand Id","description":"The brand from BrandStudio this site follows."}},"type":"object","required":["brief"],"title":"SiteCreate"},"SiteDeleted":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"site","examples":["site"]},"deleted":{"type":"boolean","title":"Deleted"}},"type":"object","required":["id","deleted"],"title":"SiteDeleted"},"SiteEdit":{"properties":{"instruction":{"type":"string","maxLength":500,"minLength":3,"title":"Instruction","description":"What to change, in plain words."},"page":{"type":"string","pattern":"^([a-z0-9]{1,12})?$","title":"Page","description":"The page key; empty is the home page.","default":""}},"type":"object","required":["instruction"],"title":"SiteEdit"},"SiteList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/SiteObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"SiteList"},"SiteObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"site","title":"Object","default":"site"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"url":{"type":"string","title":"Url","description":"Where the site is (or will be) public."},"published":{"type":"boolean","title":"Published","description":"Online right now."},"has_published_version":{"type":"boolean","title":"Has Published Version"},"draft_differs":{"type":"boolean","title":"Draft Differs","description":"The draft has changes that are not online yet."},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"brand_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Brand Id","description":"The BrandStudio brand whose logo and company details this site shows: the assigned brand, or — if none is assigned — the account's only brand. Null when the account has several brands and none is assigned (the site then shows no brand logo or company details), or when the assigned brand was deleted."},"brand_assigned":{"type":"boolean","title":"Brand Assigned","description":"True if the site is explicitly assigned to brand_id. False if it follows the account's only brand by default — it stops following it as soon as a second brand exists."},"pages":{"items":{"$ref":"#/components/schemas/SitePage"},"type":"array","title":"Pages"}},"type":"object","required":["id","name","slug","url","published","has_published_version","draft_differs","published_at","brief","brand_id","brand_assigned","pages"],"title":"SiteObject"},"SitePage":{"properties":{"key":{"type":"string","title":"Key","description":"Use as `page` when editing this page. The home page has the key \"\"."},"path":{"type":"string","title":"Path"},"name":{"type":"string","title":"Name"},"visibility":{"type":"string","title":"Visibility"}},"type":"object","required":["key","path","name","visibility"],"title":"SitePage"},"SitePublish":{"properties":{"note":{"type":"string","maxLength":200,"title":"Note","description":"Optional: one line why (kept in the version history).","default":""}},"type":"object","title":"SitePublish"},"SocialChannelVersions":{"properties":{"object":{"type":"string","title":"Object","default":"social_channel_versions","examples":["social_channel_versions"]},"post_id":{"type":"integer","title":"Post Id"},"versions":{"items":{"type":"object"},"type":"array","title":"Versions","description":"channel, name and text for each network."}},"type":"object","required":["post_id","versions"],"title":"SocialChannelVersions"},"SocialFormats":{"properties":{"object":{"type":"string","title":"Object","default":"social_formats","examples":["social_formats"]},"post_id":{"type":"integer","title":"Post Id"},"formats":{"items":{"type":"string"},"type":"array","title":"Formats","description":"The formats that were asked for; empty means all."},"images":{"items":{"$ref":"#/components/schemas/SocialImage"},"type":"array","title":"Images","description":"Every file that is ready now, with its address."}},"type":"object","required":["post_id","formats"],"title":"SocialFormats"},"SocialFormatsCreate":{"properties":{"formats":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":6},{"type":"null"}],"title":"Formats","description":"quadrat, hochkant, story, quer, breit, pin — empty for all."}},"type":"object","title":"SocialFormatsCreate"},"SocialImage":{"properties":{"format":{"type":"string","title":"Format","examples":["story"]},"media_id":{"type":"integer","title":"Media Id","description":"The source image in list_media."},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Public address; None only while no media address is configured."}},"type":"object","required":["format","media_id","width","height","url"],"title":"SocialImage"},"SocialPostCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title","description":"Working title in SocialStudio."},"text":{"type":"string","maxLength":5000,"minLength":1,"title":"Text","description":"The post, written out."},"reel_lines":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reel Lines","description":"Only for a reel: one short line per tile — the first is the hook, the last the close."},"brand_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Brand Id","description":"The brand the post speaks for; needed if the account has several."}},"type":"object","required":["title","text"],"title":"SocialPostCreate"},"SocialPostDeleted":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"social_post","examples":["social_post"]},"deleted":{"type":"boolean","title":"Deleted"}},"type":"object","required":["id","deleted"],"title":"SocialPostDeleted"},"SocialPostList":{"properties":{"object":{"type":"string","title":"Object","default":"list","examples":["list"]},"data":{"items":{"$ref":"#/components/schemas/SocialPostObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"SocialPostList"},"SocialPostObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"social_post","examples":["social_post"]},"title":{"type":"string","title":"Title"},"text":{"type":"string","title":"Text"},"reel_lines":{"items":{"type":"string"},"type":"array","title":"Reel Lines"},"brand_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Brand Id"},"status":{"type":"string","title":"Status","description":"Always 'draft': SocialStudio never posts by itself."},"scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheduled At","description":"The date in the SocialStudio calendar, if any."},"campaign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign","description":"The campaign the post belongs to, if any."},"media_ids":{"items":{"type":"integer"},"type":"array","title":"Media Ids","description":"The attached images in order (ids from list_media); the first is the cover."},"images":{"items":{"$ref":"#/components/schemas/SocialImage"},"type":"array","title":"Images","description":"The images cut to network sizes."},"reel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reel Url","description":"The rendered reel (MP4), if any."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","title","text","reel_lines","brand_id","status","created_at"],"title":"SocialPostObject"},"SocialPostSchedule":{"properties":{"scheduled_at":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Scheduled At","description":"Date and time with zone, e.g. 2026-12-03T09:00:00+01:00 — or null to remove the date."},"campaign":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Campaign","description":"Campaign name, optional."}},"type":"object","required":["scheduled_at"],"title":"SocialPostSchedule"},"SocialPostUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title","description":"A new working title."},"text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":1},{"type":"null"}],"title":"Text","description":"The new text, complete."},"media_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":10},{"type":"null"}],"title":"Media Ids","description":"The post's images in order (ids from `GET /v1/media`); the first is the cover. Replaces the current images."}},"type":"object","title":"SocialPostUpdate"},"SocialReel":{"properties":{"object":{"type":"string","title":"Object","default":"social_reel","examples":["social_reel"]},"post_id":{"type":"integer","title":"Post Id"},"url":{"type":"string","title":"Url","description":"The public address of the rendered video."},"style":{"type":"string","title":"Style"}},"type":"object","required":["post_id","url","style"],"title":"SocialReel"},"SocialReelCreate":{"properties":{"style":{"type":"string","maxLength":16,"title":"Style","description":"light, dark or cinema.","default":"light"},"lines":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Lines","description":"2–10 short lines (up to 80 characters), one per tile. Without it the lines stored at the post."}},"type":"object","title":"SocialReelCreate"},"SubdomainCreate":{"properties":{"domain_id":{"type":"integer","minimum":1.0,"title":"Domain Id","description":"The managed domain's domain_id from the address plan's hosts."},"name":{"type":"string","maxLength":63,"minLength":1,"title":"Name","description":"The name before the domain, e.g. 'shop'."},"target_kind":{"type":"string","pattern":"^(site|form|shop)$","title":"Target Kind","description":"What the subdomain shows: site, form or shop."},"target_id":{"type":"integer","minimum":1.0,"title":"Target Id","description":"The work's id from the address plan."}},"type":"object","required":["domain_id","name","target_kind","target_id"],"title":"SubdomainCreate"},"UploadIn":{"properties":{"file_name":{"type":"string","maxLength":255,"minLength":1,"title":"File Name"},"content_type":{"type":"string","maxLength":32,"title":"Content Type","description":"image/jpeg, image/png, image/webp, image/gif, application/pdf, video/mp4, video/webm"},"size":{"type":"integer","minimum":1.0,"title":"Size","description":"Bytes you are going to upload."},"sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Sha256","description":"Optional: lets us spot a file you already have."}},"type":"object","required":["file_name","content_type","size"],"title":"UploadIn"},"UploadObject":{"properties":{"object":{"type":"string","const":"upload","title":"Object","default":"upload"},"media_id":{"type":"integer","title":"Media Id"},"upload_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upload Url","description":"PUT the file here, with exactly these headers. Valid for `expires_in` seconds."},"method":{"type":"string","title":"Method","default":"PUT"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"},"expires_in":{"type":"integer","title":"Expires In"},"already_exists":{"type":"boolean","title":"Already Exists","description":"You already have this exact file — no upload needed, use `media_id`."}},"type":"object","required":["media_id","upload_url","headers","expires_in","already_exists"],"title":"UploadObject"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookEndpointIn":{"properties":{"url":{"type":"string","maxLength":500,"title":"Url","description":"An https URL on the public internet."},"events":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Events","description":"Event types, e.g. [\"order.paid\"]"},"description":{"type":"string","maxLength":120,"title":"Description","default":""}},"type":"object","required":["url","events"],"title":"WebhookEndpointIn"},"WebhookEndpointList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/WebhookEndpointObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"WebhookEndpointList"},"WebhookEndpointObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"webhook_endpoint","title":"Object","default":"webhook_endpoint"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"description":{"type":"string","title":"Description"},"active":{"type":"boolean","title":"Active"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret","description":"Only returned once, when the endpoint is created."}},"type":"object","required":["id","url","events","description","active","disabled_reason","created_at"],"title":"WebhookEndpointObject"},"WordPressDomainAttach":{"properties":{"domain_id":{"type":"integer","minimum":1.0,"title":"Domain Id"},"replace":{"type":"boolean","title":"Replace","description":"Replace own records at the root and www.","default":false}},"type":"object","required":["domain_id"],"title":"WordPressDomainAttach"},"WordPressDomainPrimary":{"properties":{"primary":{"type":"boolean","title":"Primary","description":"true: the domain becomes the site's main address. false: back to the kenjtec.ai address."}},"type":"object","required":["primary"],"title":"WordPressDomainPrimary"},"WordPressSiteCreate":{"properties":{"brief":{"type":"string","maxLength":2000,"minLength":10,"title":"Brief","description":"Who the site is for and what it should show."},"with_brand":{"type":"boolean","title":"With Brand","description":"True: the site follows the account's brand.","default":false}},"type":"object","required":["brief"],"title":"WordPressSiteCreate"},"WordPressSiteList":{"properties":{"object":{"type":"string","const":"list","title":"Object","default":"list"},"data":{"items":{"$ref":"#/components/schemas/WordPressSiteObject"},"type":"array","title":"Data"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["data","has_more"],"title":"WordPressSiteList"},"WordPressSiteObject":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","const":"wordpress_site","title":"Object","default":"wordpress_site"},"name":{"type":"string","title":"Name"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Where the site runs: its kenjtec.ai address, or the account's own domain once WordPress has been switched to it. Null until the site is set up."},"status":{"type":"string","title":"Status","description":"draft (designed, no WordPress running yet), setting_up, ready (WordPress is running), error (setting up failed)"},"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme","description":"The active theme as KENJTEC last saw it, e.g. \"KENJTEC One\". It can differ if the theme was changed in wp-admin since."},"custom_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Domain","description":"The account's own domain attached to this installation, if any. `url` tells whether WordPress already uses it as its address."},"brand_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Brand Id","description":"The BrandStudio brand this site is assigned to, or null."},"follows_brand":{"type":"boolean","title":"Follows Brand","description":"True if the brand's design, logo and name were put on this installation and KENJTEC keeps them in step with BrandStudio."},"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief","description":"What the site was designed from, in the account's own words. Null for a site that was set up empty."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","url","status","theme","custom_domain","brand_id","follows_brand","brief","created_at","updated_at"],"title":"WordPressSiteObject"},"WordPressTaskCreate":{"properties":{"instruction":{"type":"string","maxLength":600,"minLength":3,"title":"Instruction","description":"The task, concrete and complete: 'install a contact form plugin', 'create an imprint page'."},"environment":{"type":"string","pattern":"^(live|sandbox)$","title":"Environment","description":"live (default) or sandbox — the site's test copy, only if the owner names it.","default":"live"}},"type":"object","required":["instruction"],"title":"WordPressTaskCreate"},"WordPressTaskObject":{"properties":{"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id","description":"The plan's id; null if the operator found no step for this task."},"object":{"type":"string","title":"Object","default":"wordpress_task","examples":["wordpress_task"]},"wordpress_site_id":{"type":"integer","title":"Wordpress Site Id"},"instruction":{"type":"string","title":"Instruction"},"environment":{"type":"string","title":"Environment"},"status":{"type":"string","title":"Status","description":"'proposed': waits for the owner's confirmation in the WordPress cockpit. 'no_steps': nothing to do."},"steps":{"items":{"type":"string"},"type":"array","title":"Steps","description":"The planned steps in plain words."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"What the operator says about the task, if anything."},"review_path":{"type":"string","title":"Review Path","description":"Where the owner confirms or discards the plan, relative to kenjtec.com."}},"type":"object","required":["id","wordpress_site_id","instruction","environment","status","steps","note","review_path"],"title":"WordPressTaskObject"},"WordPressTaskResult":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object","default":"wordpress_task_result","examples":["wordpress_task_result"]},"wordpress_site_id":{"type":"integer","title":"Wordpress Site Id"},"status":{"type":"string","title":"Status","description":"'completed', 'stopped' (halted at the first failing step) or 'discarded'."},"completed":{"type":"integer","title":"Completed","description":"How many steps ran successfully."},"total":{"type":"integer","title":"Total"},"messages":{"items":{"type":"string"},"type":"array","title":"Messages","description":"What each step reported, in plain words."}},"type":"object","required":["id","wordpress_site_id","status","completed","total","messages"],"title":"WordPressTaskResult"},"app__routers__public_v1__Deleted":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object"},"deleted":{"type":"boolean","title":"Deleted","default":true}},"type":"object","required":["id","object"],"title":"Deleted"},"app__routers__public_v1_plattform__Deleted":{"properties":{"id":{"type":"integer","title":"Id"},"object":{"type":"string","title":"Object"},"deleted":{"type":"boolean","title":"Deleted"}},"type":"object","required":["id","object","deleted"],"title":"Deleted"}},"securitySchemes":{"ApiKey":{"type":"http","description":"Your API key from the dashboard: `Authorization: Bearer kt_api_…`","scheme":"bearer"}}}}