/connect/accounts. Requires a partner master API key with the accounts scope. Customer keys (integrations scope) cannot call these routes.
Base path: {BASE_URL}/connect/accounts — not /qsi/connect/accounts.
Authentication
Partner master API key with
accounts scope, linked to a Connect partner (connectPartnerId).Optional correlation ID returned in
meta.requestId. See Request tracing.Provision account
Find-or-create a customer organization for your partner. Endpoint:POST /connect/accounts
Your stable customer identifier (scoped per Connect partner).
Organization display name. Must be globally unique when creating a new org.
IANA timezone (e.g.
America/New_York). Optional; defaults if omitted.Responses
| HTTP | When | customerApiKey in response? |
|---|---|---|
| 201 | New org created | Yes — store securely; shown once |
| 200 | Same externalId, active key | No |
| 200 | Reconnect after disconnect | Yes — new key |
| 409 | name taken by a different org | — |
| 403 | Not a partner master key | — |
- cURL
- JavaScript
- Python
Get account
Endpoint:GET /connect/accounts/{accountId}
Returns accountId, name, externalId, connectStatus (active | disconnected), and an integrations summary.
Disconnect account
Endpoint:DELETE /connect/accounts/{accountId}
Revokes customer Connect API key(s). Does not delete the org or integration rows. Returns connectStatus: disconnected. Reconnect with another POST /connect/accounts using the same externalId to receive a new customerApiKey.
Customer key policy
Customer keys minted during provisioning haveintegrations scope only — use them for /connect/{vendor}/* routes, not for account provisioning.
Related
- Permission scopes —
accountsvsintegrations - Getting started — end-to-end stub flow
- Standardized vendor endpoints — after provisioning

