Platform API
Provision an organization
Create or find a managed organization using your stable externalId.
POST
https://app.mindbill.org/partner/v2/organizationsCreate or find a managed organization using your stable externalId. Requires an account-scoped credential; an organization-scoped credential is rejected. Returns 201 when created, 200 when found.
This endpoint requires a server API key and is unavailable to browser sessions. See the component API inventory for exact paths and SDK methods.
Request body
FieldTypeDescription
externalIdRequiredstringexternalId
nameRequiredstringname
accessModestringLegacy invite input is accepted with adminName and adminEmail; this endpoint provisions managed access.
practiceIdentityobjectpracticeIdentity
billingProvidersobject[]billingProviders
renderingProvidersobject[]renderingProviders
locationsobject[]locations
adminNamestringadminName
adminEmailstringadminEmail
Examples
curl 'https://app.mindbill.org/partner/v2/organizations' \
--request POST \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header 'Content-Type: application/json' \
--data @request.json \
--header 'Idempotency-Key: example-write-0001'Response
201
Response fields are documented below.FieldTypeDescription
organizationIdstringorganizationId
externalIdstringexternalId
namestringname
statusstringstatus
accessModeobjectaccessMode
createdbooleancreated