Hero Title

How do I use the xaicms API?

FAQ问

How do I use the xaicms API?

FAQ答

<p>Follow these steps to use the xaicms API:</p><ol><li>Confirm the site's <code>XAICMS_BASE_URL</code> and obtain a <code>CMS_MANAGER_TOKEN</code> from an administrator.</li><li>Store the token in a local environment variable or secret manager; never put it in chat, frontend code, or source files.</li><li>Send <code>Authorization: Bearer &lt;CMS_MANAGER_TOKEN&gt;</code> and <code>Accept: application/json</code> with every request.</li><li>Start with <code>GET {XAICMS_BASE_URL}/api/cms-manager/v1/health</code> to verify the connection.</li><li>Use the categories, posts, page templates, and single pages endpoints to manage content. Read the required category or template before creating content.</li><li>Create posts as <code>draft</code> by default. Verify the target and obtain explicit approval before publishing, updating, or deleting.</li></ol><p>Common status codes: <code>400</code> invalid input, <code>401</code> authentication failure, <code>403</code> permission restriction, <code>404</code> resource not found, and <code>503</code> service not configured.</p>

Get A Free Quote

Tell us your requirement and we will contact you soon.

普通文件单文件最大 20MB;3D 模型(glb、gltf、stl、ply、fbx、3ds、abc、obj)最大 500MB。支持:doc、gif、ico、icon、jpg、jpeg、png、pdf、webp、mp3、mp4、rar、p12、pem 及上述 3D 格式;可多选。

----

WHAT WE DO

FROM IDEA TO IMPACT

We deliver custom solutions from initial design to final installation, turning ideas into impactful experiences.

INFLATABLE SERVICES

Explore

CUSTOM DESIGN

Explore

MANUFACTURING

Explore

INSTALLATION

Explore

AFTER-SALES

Explore

GLOBAL DELIVERY

Explore