---
title: "Get a flow"
method: GET
path: "/{teamPid}/flows/{flow}"
tags: ["Flows"]
---

# Get a flow

`GET /{teamPid}/flows/{flow}`

## Request

- Base URL: `https://api.rightmessage.com/v1`
- URL: `https://api.rightmessage.com/v1/{teamPid}/flows/{flow}`
- Auth: HTTP bearer

Requires an API token with the `read` or `write` ability. Tokens created without abilities have `*`, which grants every ability.

## Path parameters

- `teamPid` string, required
- `flow` string, required

## Response `200`

`FlowResource`

- object
  - `data` FlowResource, required
    - `id` string, nullable, required
    - `name` string, nullable, required
    - `definition` string, nullable, required

## Other responses

- `401`: Missing, invalid or revoked API token.
- `404`: Not found
- `429`: Rate limit exceeded: 120 requests per minute for project endpoints, 60 per minute for token and connection endpoints. Retry after the `Retry-After` seconds.

---

[API](https://skmtc.dev/rightmessage/apis/rightmessage-api.md) - [All operations](https://skmtc.dev/rightmessage/apis/rightmessage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rightmessage/apis/rightmessage-api/revisions/adec35e9720c?raw)
