Skip to main content
POST
/
api
/
v1
/
cohorts
/
{cohortId}
/
memberships
cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/cohorts/string/memberships" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Path Parameters

cohortId
string
required

cohortId identifier

Body

application/json
businessOrganizationId
string<uuid>

Business organization id (kind = BUSINESS) — Fluide Business ID (FBI) for tenants already on Fluide.

invitedEmail
string<email>

Invite by email when the business is not on Fluide yet; queues a join link to fluide-admin.

businessCompanyId
string<uuid>

Optional company id under the business.

inviteMessage
string
Maximum string length: 1000
scopeOperations
boolean

Operations data scope flag.

scopeFinancials
boolean

Financials data scope flag.

scopeFacs
boolean

FACS data scope flag.

scopeHr
boolean

HR module scope (defaults from operations when omitted).

scopePayroll
boolean

Payroll module scope (defaults from operations when omitted).

scopeAccounting
boolean

Accounting / books scope (defaults from financials when omitted).

scopeInsurance
boolean

Insurance / benefits reads (reserved).

Response

Invite — created

success
boolean
required

Whether the request succeeded

Example:

true

message
string
required

Human-readable outcome message (localized when i18n is configured)

Example:

"Operation completed successfully"

data
object

Endpoint-specific payload