Skip to main content
PATCH
Update flow

Request contract

  • Method and path: PATCH /apis/v1/social/messaging/whatsapp/flows/{flowId}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/messaging/whatsapp/flows/{flowId}
  • flowId: path; required
  • connectionId: query; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flowId
string
required

Flow ID

Query Parameters

connectionId
string
required

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^msc_[0-9A-Za-z]+$

Body

application/json
categories
enum<string>[]
Minimum array length: 1
Available options:
SIGN_UP,
SIGN_IN,
APPOINTMENT_BOOKING,
LEAD_GENERATION,
CONTACT_US,
CUSTOMER_SUPPORT,
SURVEY,
OTHER
connectionId
string

The connection, when not sent as the connectionId query parameter.

Pattern: ^msc_[0-9A-Za-z]+$
endpointUri
string<uri>

HTTPS-only data exchange endpoint for the flow. Settable only while the flow is in DRAFT, and the flow's uploaded Flow JSON must declare data_api_version "3.0" for the endpoint to be used.

name
string

New flow name

Maximum string length: 128

Response

Success

success
boolean