Update WhatsApp Flow
Update a WhatsApp flow. Only flows in DRAFT status can be modified.
Please log in to see full path URL. Learn why.
patch
/whatsapp/1/senders/{sender}/flows/{flowId}
Authorizations:
Scopes:
Request rate limit:
100 requests / hour (per account)
path Parameters
sender required | string Example: 447796344125 Registered WhatsApp sender number. Must be in international format. |
flowId required | string Example: 123456 ID of the flow to be modified. |
Request Body schema:
application/jsoncollapse all -
name | string [ 1 .. 200 ] characters Name of the flow. |
categories | Array of strings Items Enum: "SIGN_UP" "SIGN_IN" "APPOINTMENT_BOOKING" "LEAD_GENERATION" "CONTACT_US" "CUSTOMER_SUPPORT" "SURVEY" "OTHER" "SHOPPING" "UNKNOWN" Categories of the flow. |
Responses
204
Flow updated
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {- "name": "My new name",
- "categories": [
- "CONTACT_US"
]
}
Response samples
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Example
Flow is in non-updatable state
Copy
Collapse all {- "errorCode": "E400",
- "description": "Updating attempt failed.",
- "action": "Please create new flow.",
- "violations": [
- {
- "property": "flowId",
- "violation": "Flow can only be modified in DRAFT status."
}
], - "resources": [ ]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See