Skip to main content
POST
Create a component
Read more about components.

Request

Body

name
string
required
The component name.
lmx
string
required
The component body as an LMX string.

Response

Success

Returns 201 Created.
id
string
required
The component ID.
name
string
required
The component name.
lmx
string
required
The component body serialized as LMX.

Error

If the request body is invalid, a 400 Bad Request is returned. If the API key is invalid (or content API is not enabled for your team), a 401 Unauthorized is returned. A 413 Payload Too Large is returned when the LMX body exceeds the size limit. A 422 Unprocessable Entity is returned when the LMX is invalid.
message
string
required
An error message describing what went wrong.
Last modified on July 9, 2026