Team Setup
How to discover or create the managed team your integration will operate on
Team Setup
Use provider API key auth on all routes in this page.
These setup routes do not use x-team-id.
List Teams
curl 'https://api.edge.vrplatform.app/teams' \
-H 'x-api-key: <provider-api-key>'Use this when you need to discover the team id that already exists for a customer.
Get One Team
curl 'https://api.edge.vrplatform.app/teams/<team-id>' \
-H 'x-api-key: <provider-api-key>'Useful fields in the response:
idnamestatustypepartnerisGeneralLedgerbooksClosedAtextractableConnections
Create Team
curl -X POST 'https://api.edge.vrplatform.app/teams' \
-H 'x-api-key: <provider-api-key>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Example Team",
"email": "team@example.com",
"generalLedger": false,
"ownerPortalShowDraftStatements": false
}'Required fields:
nameemailgeneralLedger
Common optional fields:
partnerIdbillingPartnerIdstatementAddressbillingAddressownerPortalShowDraftStatementsaddMembers
Behavior:
- if
partnerIdis omitted, VRPlatform uses the authenticated key tenant - if
generalLedgerisfalse, the team is created without GL initialization - if
generalLedgeristrueor an object, VRPlatform queues GL init during create
Initialize General Ledger Later
Use PATCH /teams/{id}/init only when the team already exists and still needs
initialization, or when you want to send a specific init payload.
curl -X PATCH 'https://api.edge.vrplatform.app/teams/<team-id>/init' \
-H 'x-api-key: <provider-api-key>' \
-H 'Content-Type: application/json' \
-d '{
"copyFromTeamId": "11111111-1111-4111-8111-111111111111",
"include": ["accounts", "taxRates", "lineMappings"]
}'Body fields:
copyFromTeamIdcopyLineMappingsFromPartnerIdtaxRateCountryOverwriteinclude
Supported include values:
statementLayoutsrecurringFeesaccountstaxRateslineMappings
Next Step
Once you have the managed team id, continue with Connection Creation.
