Skip to main content
POST
Ask Expert

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Body

application/json
question
string
required

A Moda product how-to question, in plain language.

Required string length: 1 - 2000
context
string | null

Optional context: the failing command, error text, or what you are trying to build.

Maximum string length: 10000
session_id
string | null

Optional session id from a previous answer. Pass it to continue that conversation with context; omit it to start a new session (every response returns one).

Maximum string length: 64
brand_kit_ref
string | null

Optional brand-kit reference (a bk_… id or UUID from GET /v1/brand-kits). Styling questions answer better with it: when present — and only then — the kit's palette, fonts, tone, and key imagery are injected as reference context so the advice is grounded in your brand. Never inferred: omitting it asks without any brand context. Requires the brand_kits:read scope.

Maximum string length: 128

Response

Successful Response

The response is of type Response Askexpert · object.