Quotura
Quotura is launching soon. Sign-up opens at launch; until then, these pages describe the service as it will run. Get notified

Provisioning API

Platforms and scripts create and manage Quotura projects, databases, data API keys and backups with an organization access token. An admin creates one on the Access tokens page; it is shown once. It acts as that admin, in one org only, and cannot touch members, invitations, billing, plans or other tokens.

Last reviewed

Example

T=qat_...; API=https://console.quotura.com/api/orgs/<org id>
H=(-H "Authorization: Bearer $T" -H "content-type: application/json")
P=$(curl -s "${H[@]}" -d '{"name":"customer-42"}' $API/projects | jq -r .id)
curl -s "${H[@]}" -d '{"name":"main"}' $API/projects/$P/databases     # id, connectionUrl
curl -s "${H[@]}" -d '{"name":"app"}'  $API/projects/$P/keys          # key for the data API
curl -s "${H[@]}" -X POST $API/databases/<database id>/connection     # the connection string again
curl -s "${H[@]}" -X DELETE $API/databases/<database id>

What a token can do

  • Read its org, and use the project, database, key, backup and usage routes, including imports.
  • Everything else is refused with 403 TOKEN_NOT_ALLOWED; another org is never reachable.
  • It stops working when revoked, or when its creator leaves the org or stops being an admin.
  • Every action is in the audit log with the token's prefix. 600 requests a minute per token; 20 active tokens per org.
  • Plan limits and pay-first apply exactly as in the console.