Before you start
You need a Flow account, a workspace identifier, and a personal API key. Follow Authentication to create a key and find your workspace identifier. Set these variables in your terminal. Load the key from your secret manager or enter it without echoing it:read -r -s 'FLOW_API_KEY?Flow API key: ' instead.
The API URL shown in Flow settings ends in
/customer-api. That path opens Swagger. Use the URL’s origin, without /customer-api, as FLOW_API_URL.requests (python3 -m pip install requests). JavaScript examples use Node.js 22 or later; save them as .mjs files and run them with node. Each example reads the variables configured above.
Identify your user
Find a project
id from the response:
Read entities
items array and pagination metadata. Omit branch_id to read Base. See Read entities to filter by entity type and fetch the next page.
Try the playground
Open an endpoint under Endpoints and enter your API key andcustomer header. The playground uses https://backend.branch.flowengineering.com. Start with a GET request. Requests use your permissions; write requests change live data.
Use a test project and branch for write examples. See API conventions for branch identifiers and error handling.