## List flows Workflows are automation flows built in the Project Blue app — send a message, wait, branch on a reply, and so on. These endpoints list your published flows, enroll a contact (which starts the run immediately), and cancel active runs for a contact. > **Enrollment runs immediately** > > Only Published flows can be enrolled. Enrolling a contact executes the first step right away — real messages may be sent. When `pb_line_id` is omitted, a line is selected automatically at enrollment and pinned for the entire run; the chosen line is returned in the response. `GET /get-flows` Returns the authenticated user's published Workflows. Use each flow's `id` as `flowId` when enrolling a contact. Ids are opaque UUID strings, not sequential numbers — pass them back verbatim. **Request — cURL** ```bash curl -X GET https://api.tryprojectblue.com/get-flows \ -H "Authorization: Bearer YOUR_API_KEY" ``` **Response — 200 OK** ```json { "flows": [ { "id": "6f1c2a7e-9d4b-4c31-8a52-1e7f0b3d9c84", "name": "New Lead Follow-up" }, { "id": "b28d5f30-71ac-4e69-9f13-52c6ad8071be", "name": "Appointment Reminder" } ] } ```