Criar um flow
Cria um novo WhatsApp Flow.
Authentication
AuthorizationBearer
API Key in the format mk_live_<43-chars>. Obtain from the Dashboard or POST /auth/api-keys.
Request
This endpoint expects an object.
numberId
WhatsApp Number ID to create the flow under
name
Display name for the flow
categories
Flow categories (e.g., SIGN_UP, SIGN_IN, CONTACT_US, OTHER)
publicKey
PEM-encoded RSA 2048 public key for flow data exchange encryption
endpointUrl
HTTPS endpoint URL where data exchange requests will be forwarded
Response
Default Response
id
Unique identifier of the flow in the Muchaw platform
developerId
ID of the developer who owns this flow
wabaId
WhatsApp Business Account ID this flow belongs to
metaFlowId
Flow ID assigned by Meta
name
Flow name
status
Current lifecycle status of the flow
categories
Flow categories
jsonVersion
Version of the flow JSON spec
endpointUrl
HTTPS endpoint URL for data exchange
publicKeyConfigured
Whether a public key is configured for this flow
createdAt
ISO 8601 datetime when the flow was created
updatedAt
ISO 8601 datetime when the flow was last updated
Errors
400
Bad Request Error
401
Unauthorized Error