Skip to main content
POST
Add a branch
Adding a branch to a BranchNode creates one AudienceFilter child node. Adding a branch to an ExperimentBranchNode creates one VariantNode child node. This endpoint does not accept node configuration fields; update the child node after creation. Public workflows are limited to 300 nodes, and this endpoint adds 1 node.

Authorizations

Authorization
string
header
required

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

Path Parameters

workflowId
string
required

The ID of the workflow.

nodeId
string
required

The ID of the BranchNode or ExperimentBranchNode that should receive one new child.

Body

application/json
expectedRevisionId
string
required

The workflow revision token returned by the latest workflow read or mutation. Mutations reject stale values.

Response

Branch added.

node
object
required

Detailed workflow node returned from a mutation, plus the latest workflow revision token.

workflow
object
required
Last modified on July 21, 2026