ChakraHQ APIs
Home
Sign In
Home
Sign In
  1. Flows - Create & Manage
  • API Keys
  • Response Format
  • Inbound Events Webhook
  • How to figure out pluginId and whatsappPhoneNumberId
  • API Rate Limits
  • Chara Chat SDK
  • Send Template Messages
    • Send Whatsapp Template Message For Process
    • Send Whatsapp Template Message For A Phone Number
    • Send Template Message (Meta API Format)
    • Send Template Message via MM Lite (Meta API Format)
  • Send Session Messages
    • Send WhatsApp session message (pass-through)
  • Message Templates - Create & Manage
    • Create WhatsApp Message Template (pass-through)
    • List WhatsApp Message Templates (pass-through)
    • Update WhatsApp Message Template (pass-through)
  • Media - Upload & Manage
    • Upload Public Media
    • Show Whatsapp Media API
    • Fetch Whatsapp Media API
    • Show Whatsapp Media Attachments API
  • Flows - Create & Manage
    • Set Business Public Key
      POST
    • Get Business Public Key
      GET
    • Create a flow
      POST
    • Get flow details
      GET
    • Update flow metadata
      POST
    • Delete a flow
      DELETE
    • List flow assets
      GET
    • Update flow JSON (known issue, do not use)
      POST
    • Publish a flow
      POST
    • Deprecate a flow
      POST
  • Groups - Create & Manage
    • Create Group
    • List Groups
    • Get group info
    • Update Group Settings
    • Delete Group
    • Get Group Invite Link
    • Reset Group Invite Link
    • Get Group Join Requests
    • Approve Group Join Request
    • Reject Group Join Request
    • Remove Group Participants
  • Leads - Create & Manage
    • Create a lead
    • Update Lead By Phone Number
  • Chat & Chat Messages
    • List chats
    • List chat messages for a chat
    • List previous messages for a phone number
  • Campaigns - Manage
    • Add a phone number to a lead campaign
    • Remove phone number from a lead campaign
  • Calling
    • Calling Settings
      • Get phone number calling settings
      • Configure or update calling settings
    • Call Permissions
      • Get call permission state
    • Calls
      • Manage a call
  • Partner Access
    • Create Connect Token
    • Update WhatsApp plugin configuration
    • Fetch WhatsApp plugin configuration
    • List WhatsApp Business Accounts for the team
    • Fetch a WhatsApp Business Account by ID
    • List WhatsApp phone numbers for the team
    • Fetch a WhatsApp phone number by ID
    • Deregister a WhatsApp business phone number
    • Disconnect WABA Account
  • Platform
    • Process
      • Fetch Process By Id
      • List Processes
      • Create Process
      • Update Process
      • Update Process By Primary Key
      • Delete Process
      • Delete Process By Primary Key Value
      • Bulk Create Process API
      • Bulk Update Process API
    • Task
      • Create Task API
    • User
      • List Users API
      • List Users API (V2)
      • Fetch User API
      • Fetch User API (V2)
      • Update User API
    • Photo
      • Fetch Photo API
      • Upload Photo API
      • Upload Photo API With Id
    • Background Job
      • Fetch Background Job
      • Fetch Background Job Entries API
    • Fetch Config
  • Schemas
    • Whatsapp
      • MappingType
    • WhatsAppSessionPayload
    • DeregisterPhoneNumberRequest
    • WhatsAppPhoneNumber
    • FlowCategory
    • WhatsAppCallRecordingOptions
    • DeregisterPhoneNumberSuccessResponse
    • WhatsAppBusinessAccount
    • FlowStatus
    • WhatsAppCallTranscriptionOptions
    • WhatsAppPhoneNumberListResponse
    • CreateFlowRequest
    • WhatsAppCallsRequest
    • WhatsAppPhoneNumberResponse
    • CreateFlowResponse
    • WhatsAppCallsResponse
    • WhatsAppBusinessAccountListResponse
    • UpdateFlowMetadataRequest
    • WhatsAppCallHoursWeeklyEntry
    • WhatsAppBusinessAccountResponse
    • FlowDetails
    • WhatsAppCallHoursHolidayEntry
    • ChakraErrorResponse
    • FlowValidationError
    • WhatsAppCallHours
    • FlowAssetList
    • WhatsAppSipServer
    • SuccessResponse
    • WhatsAppSipSettings
    • WhatsAppCallingSettings
    • WhatsAppPhoneNumberSettings
    • WhatsAppUpdateSettingsRequest
    • WhatsAppUpdateSettingsResponse
    • WhatsAppCallPermissionActionLimit
    • WhatsAppCallPermissionAction
    • WhatsAppCallPermissionsResponse
    • MetaErrorResponse
  1. Flows - Create & Manage

Update flow JSON (known issue, do not use)

Deprecated
POST
/v1/whatsapp/{whatsappApiVersion}/{wabaId}/flows/{flowId}/assets
Known issue: this endpoint does not currently update a flow's assets.
The route accepts flowId, but the handler ignores it. It forwards the JSON body to
Meta's POST /{WABA_ID}/flows (create flow) instead of POST /{FLOW_ID}/assets.
Calling it creates a new flow and returns the create-flow response.
Meta's POST /{FLOW_ID}/assets
expects multipart/form-data with file, name (flow.json) and asset_type
(FLOW_JSON). This endpoint does not accept that format yet.
Workaround: Create a new flow with flow_json set, or use
Update flow metadata for metadata changes.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Current behaviour: a new flow was created (same response as Create a flow),
or the WABA is not connected.
Bodyapplication/json

🟢200OK
🟢200OK
🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/v1/whatsapp///flows//assets' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "Lead capture",
    "categories": [
        "SIGN_UP"
    ],
    "flow_json": "string",
    "publish": false,
    "clone_flow_id": "string",
    "endpoint_uri": "http://example.com"
}'
Response Response Example
200 - Example 1
{
    "id": "string",
    "success": true,
    "validation_errors": [
        {
            "error": "string",
            "error_type": "string",
            "message": "string",
            "line_start": 0,
            "line_end": 0,
            "column_start": 0,
            "column_end": 0,
            "pointers": [
                {
                    "line_start": 0,
                    "line_end": 0,
                    "column_start": 0,
                    "column_end": 0,
                    "path": "string"
                }
            ]
        }
    ]
}
Modified at 2026-11-30 12:31:01
Previous
List flow assets
Next
Publish a flow
Built with