curl -X GET "https://api.60db.ai/60db/flow/plan" \
-H "Authorization: Bearer USER_JWT" \
-H "X-60db-Client: flow/1.5.0"
{
"success": true,
"data": {
"has_access": true,
"access": "paid",
"plan": "flow_team",
"plan_name": "Lifetime Team",
"status": "active",
"license_id": "2f1c9a4e-6b7d-4c1e-9f0a-1d2e3f4a5b6c",
"seats": 3,
"seats_used": 2,
"is_owner": true,
"invite_pending": false,
"seat_invites": [],
"workspace": { "id": 24, "name": "Acme" },
"workspaces_with_access": [{ "id": 24, "name": "Acme", "plan": "flow_team", "access": "paid" }]
}
}
60db Flow
Get Flow plan
Access, licence, seats and pending seat invites for the signed-in user
GET
/
60db
/
flow
/
plan
curl -X GET "https://api.60db.ai/60db/flow/plan" \
-H "Authorization: Bearer USER_JWT" \
-H "X-60db-Client: flow/1.5.0"
{
"success": true,
"data": {
"has_access": true,
"access": "paid",
"plan": "flow_team",
"plan_name": "Lifetime Team",
"status": "active",
"license_id": "2f1c9a4e-6b7d-4c1e-9f0a-1d2e3f4a5b6c",
"seats": 3,
"seats_used": 2,
"is_owner": true,
"invite_pending": false,
"seat_invites": [],
"workspace": { "id": 24, "name": "Acme" },
"workspaces_with_access": [{ "id": 24, "name": "Acme", "plan": "flow_team", "access": "paid" }]
}
}
Call at app launch, after sign-in and after a workspace switch. Use
license_id, is_owner, plan and seats to show the Team seat manager, and seat_invites to show pending invitations.
Request
Headers
string
required
Bearer <login token> of the signed-in 60db user. API keys (sk_...) are not accepted for Flow.string
flow/<app-version>, e.g. flow/1.5.0 (send it from the 60db Flow app)Query Parameters
integer
Workspace to check (defaults to the current workspace)
Response
boolean
Free dictation available in this workspace
string
paid | comp | trial | nonestring
flow_solo | flow_team | nullstring
Licence behind this access (
null without access). Needed for the seat endpointsinteger
Seats on the licence (3 for Lifetime Team)
integer
Seats taken, including pending invites
boolean
The user bought the licence and can manage seats
boolean
seat_invites is not emptyarray
Pending invites from any workspace (same items as List my invites)
array
Other workspaces where the user has Flow; offer to switch
Example
curl -X GET "https://api.60db.ai/60db/flow/plan" \
-H "Authorization: Bearer USER_JWT" \
-H "X-60db-Client: flow/1.5.0"
{
"success": true,
"data": {
"has_access": true,
"access": "paid",
"plan": "flow_team",
"plan_name": "Lifetime Team",
"status": "active",
"license_id": "2f1c9a4e-6b7d-4c1e-9f0a-1d2e3f4a5b6c",
"seats": 3,
"seats_used": 2,
"is_owner": true,
"invite_pending": false,
"seat_invites": [],
"workspace": { "id": 24, "name": "Acme" },
"workspaces_with_access": [{ "id": 24, "name": "Acme", "plan": "flow_team", "access": "paid" }]
}
}